importing AzerothShard MODULE

mostly commented out.
must be fixed and other mods to main /src, must be imported
This commit is contained in:
Yehonal
2016-07-09 06:37:24 +02:00
parent b61e4bafec
commit 645931f55d
172 changed files with 10363 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
include("${CMAKE_CURRENT_LIST_DIR}/src/CMakeLists.txt")
+223
View File
@@ -0,0 +1,223 @@
Copyright (C) 2006 - 2016 AzerothShard All rights reserved.
Acceptable Use; Safety-Critical Systems. Your use of the AzerothShard Materials must comply with the AzerothShard Acceptable Use Policy.
The AzerothShard Materials are not intended for use with life-critical or safety-critical systems, such as use in operation
of medical equipment, automated transportation systems, autonomous vehicles, aircraft or air traffic control, nuclear facilities,
manned spacecraft, or military use in connection with live combat. However,
this restriction will not apply in the event of the occurrence (certified by the United States Centers for Disease Control or successor body)
of a widespread viral infection transmitted via bites or contact with bodily fluids that causes human corpses to reanimate and seek to consume
living human flesh, blood, brain or nerve tissue and is likely to result in the fall of organized civilization.
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software.
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version.
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based on the Program.
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.
+57
View File
@@ -0,0 +1,57 @@
# AzerothShard Development standards
AzerothShard follows an **open development model**, we share with the Open Source project all our blizzlike fixes.
So if you have a blizzlike fix for AzerothShard, try to merge it into Open Source project too. In this way your code helps the global development and can be reviewed by many more developers, and **everyone gains**.
Following guidelines describe how to handle all of the custom code.
With **custom**, we mean all stuff we need that **can't** be merged into the Open Source project (for any reason).
## Custom Commits
- Every commit that introduces custom changes should be labelled with the **[AZTH]** tag in its commit name
- Try to [squash commits](https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/) when they are all about the same thing
## Custom Code
With **custom code** we mean all code that is not currently part of the Open Source project. Example of custom code can be custom features, hackfixes or even blizzlike fixes that for some reasons are not yet merged into the Open Source project.
All custom code must be surrounded by ```// [AZTH]``` and ```// [/AZTH]``` tags, specifying the name of the author. Example:
```
// [AZTH] AuthorName,RevisorName.. :
// motivation/usage/comment
// custom code
// [/AZTH]
```
## Custom SQL files
### Directory structure
All custom SQL files are placed under **/azerothshard/data/sql** folder
Subdivided in 3 folders, one for each database:
- db-world
- db-characters
- db-auth
there is also a "tool" folder that contains various usefull sql to use occasionally
### File names
Every SQL file must be named using the following format: azth_*database*_*description*.sql
Example: **azth_world_queue_announcer.sql**
For structure SQL files the *description* should be the *table name*.
### SQL code format
Every SQL file must be **re-executable**. That means that you have to ```DELETE``` before ```INSERT```, and ```DROP TABLE``` before ```CREATE TABLE IF NOT EXIST```.
In order to ensure that your SQL code is re-executable, try to **run it twice before committing it**.
@@ -0,0 +1,3 @@
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../../../azth/bin/compiler/includes/includes.sh"
@@ -0,0 +1,28 @@
#!/bin/bash
# set preferred compilers
CCOMPILERC="/usr/bin/clang-3.6"
CCOMPILERCXX="/usr/bin/clang++-3.6"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# enable/disable warnings during compilation
CWARNINGS=ON
# enable/disable some debug informations ( it's not a debug compilation )
CDEBUG=OFF
# compile scripts
CSCRIPTS=static
# compile server
CSERVERS=ON
# compile tools
CTOOLS=OFF
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
CSCRIPTPCH=ON
CCOREPCH=ON
# compile azth custom plugins
CAZTH_CUSTOM_PLG=ON
# compile azth plugins
CAZTH_PLG=ON
# enable unit test on TC load
CAZTH_UNIT_TEST=OFF
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# specify compilation type
CCTYPE=Debug
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-dev/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-dev/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=2
# specify compilation type
CCTYPE=Debug
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-live/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-live/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=2
# specify compilation type
CCTYPE=Debug
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-test/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-test/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,17 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# including default conf for custom
source "$CURRENT_PATH/conf"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# specify compilation type
CCTYPE=Release
# absolute root path of your azerothshard repository
SRCPATH=/home/hw2/usr/workspace/projects/AzerothShard/server-live/
# absolute path where binary files must be stored
BINPATH=/home/hw2/modules/azerothshard-server/server-trilogy/
# absolute path where config. files must be stored
CONFDIR=/home/hw2/modules/azerothshard-server/etc/
@@ -0,0 +1,7 @@
function azth_custom_after_build() {
cp -rvf "$AZTH_PATH_CUSTOM/conf/"*.conf "$CONFDIR"
cp -rvf "$AZTH_PATH_CUSTOM/bin/runners/"* "$INSTALL_PATH/bin/"
}
registerHooks "ON_AFTER_BUILD" azth_custom_after_build
@@ -0,0 +1,5 @@
source "../../bash_shared/includes.sh"
AZTH_PATH_CUSTOM_COMPILER="$AZTH_PATH_CUSTOM/bin/compiler"
source "$AZTH_PATH_CUSTOM_COMPILER/includes/custom.sh"
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-dev"
source "../includes/include.sh"
clean
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-dev"
source "../includes/include.sh"
configure
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-dev"
source "../includes/include.sh"
build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-live"
source "../includes/include.sh"
clean
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-live"
source "../includes/include.sh"
configure
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-live"
source "../includes/include.sh"
build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-test"
source "../includes/include.sh"
clean
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-test"
source "../includes/include.sh"
configure
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-test"
source "../includes/include.sh"
build
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-trilogy"
source "../includes/include.sh"
clean
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-trilogy"
source "../includes/include.sh"
configure
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "../includes/conf-trilogy"
source "../includes/include.sh"
build
@@ -0,0 +1,23 @@
#!/bin/bash
git config --global credential.helper store
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd /home/hw2/usr/workspace/projects/AzerothShard/server-live
git pull
cd $DIR
rm old.log
mv new.log old.log
cd /home/hw2/usr/workspace/projects/AzerothShard/server-live
git log origin/development --no-merges --pretty=format:'<%an> %s' > $DIR/new.log
cd $DIR
awk '!/DEV-OP/' new.log > temp && mv temp new.log
comm -13 <(sort -u old.log) <(sort -u new.log) > shout.log
while read p; do
echo "announcing $p\n"
sudo screen -X -S worldserver-live -p 0 stuff "announce 'DEV: $p' ^M"
sleep 1
done <shout.log
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-live/debug/bin/"
export GDB="auth.gdb"
export CONFIG="../../../etc/auth.conf"
export SERVERBIN="authserver"
export SERVERPID="auth.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="authserver"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-dev/debug/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-dev.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-dev"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=1
export BINPATH="../server-live/debug/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-live.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-live"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-test/debug/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-test.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-test"
######################
@@ -0,0 +1,14 @@
######################
export GDB_ENABLED=0
export BINPATH="../server-trilogy/release/bin/"
export GDB="world.gdb"
export CONFIG="../../../etc/world-trilogy.conf"
export SERVERBIN="worldserver"
export SERVERPID="world.pid"
export LOGS_PATH="../../logs";
export SCREEN_NAME="worldserver-trilogy"
######################
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/auth
restarter
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/world-dev
restarter
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source ./run-engine
source ./conf/world-live
restarter
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/world-test
restarter
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
source ./run-engine
source ./conf/world-trilogy
restarter
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/auth
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-dev
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-live
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-test
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
source "./run-engine"
source ./conf/world-trilogy
starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
+9
View File
@@ -0,0 +1,9 @@
[authserver]
LogsDir = "../../logs"
SourceDirectory = "../../usr/server-live"
MySQLExecutable = "/usr/bin/mysql"
Azth.Conf.Private="../../../etc/auth-priv.conf"
+91
View File
@@ -0,0 +1,91 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
#
# DEV - RELATED
#
CleanCharacterDB = 0
# zero on dev
MaxCoreStuckTime = 0
# symbolic link
SourceDirectory = "../../usr/server-dev"
Azth.Conf.Private="../../../etc/world-dev-priv.conf"
#
# DEV/TEST SHARED CONF
#
DataDir = "../../data"
LogsDir = "../../logs"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Reame di sviluppo e test di AzerothShard"
# world + extra + char
Updates.EnableDatabases = 14
Warden.Enabled = 0
Wintergrasp.Enable = 1
Wintergrasp.BattleTimer = 30
Wintergrasp.NoBattleTimer = 1
Ra.Enable = 0
SOAP.Enabled = 0
Log.Async.Enable = 0
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
Appender.GM=2,1,31,gm/gm.log,a, 8000000
#
# Database appenders
#
Appender.DB=3,1,7
#
# SERVER warning / errors
#
Logger.root=3,Console Server
Logger.server=3,Console Server
Logger.sql.dev=3,Console DBLogs
Logger.mmaps=3,Server
Logger.sql.updates=4,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,GM
Logger.commands.ra=2,Server
Logger.sql.sql=2,DBLogs
Logger.cheat=3,DB
Logger.warden=3,DB
irc.active = 0
+449
View File
@@ -0,0 +1,449 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
ProcessPriority = 1
DataDir = "../../data"
LogsDir = "../../logs"
# symbolic link
SourceDirectory = "../../usr/server-live"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Benvenuti su AzerothShard!"
MaxCoreStuckTime = 30
# world + extra + char + auth
Updates.EnableDatabases = 15
Warden.Enabled = 1
Warden.ClientCheckFailAction = 1
RealmID = 1
ThreadPool = 6
CleanCharacterDB = 1
Transmogrification.RequireToken = 1
Transmogrification.TokenEntry = 47241
Transmogrification.TokenAmount = 5
#PlayerStart.String = "Benvenuto su AzerothShard."
Wintergrasp.Enable = 0
Azth.Conf.Private="../../../etc/world-live-priv.conf"
# Logger config values: Given a logger "name"
# Logger.name
# Description: Defines 'What to log'
# Format: LogLevel,AppenderList
#
# LogLevel
# 0 - (Disabled)
# 1 - (Trace)
# 2 - (Debug)
# 3 - (Info)
# 4 - (Warn)
# 5 - (Error)
# 6 - (Fatal)
#
# AppenderList: List of appenders linked to logger
# (Using spaces as separator).
#
Log.Async.Enable = 1
Allow.IP.Based.Action.Logging = 1
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
Appender.GM=2,1,31,gm/gm.log,a, 8000000
#
# Database appenders
#
Appender.DB=3,1,7
#
# SERVER warning / errors
#
Logger.root=4,Console Server
Logger.server=4,Console Server
Logger.sql.dev=3,DBLogs
Logger.mmaps=3,Server
Logger.sql.updates=3,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,GM DB
Logger.commands.ra=2,DB
Logger.sql.sql=3,DBLogs
Logger.cheat=2,DB
Logger.warden=3,DB
# to catch deletion
Logger.entities.player.character=2,DB
# to catch instant80 too
Logger.entities.player.dump=2,DB
Logger.bg.arena=2,DB
Logger.bg.battlefield=2,DB
Logger.bg.battleground=2,DB
#
# BIG
#
Logger.chat.log.say=2,DB
Logger.chat.log.emote=2,DB
Logger.chat.log.yell=2,DB
Logger.chat.log.whisper=2,DB
#Logger.chat.log.addon.whisper=2,DB
#Logger.chat.log.addon.party=2,DB
Logger.chat.log.party=2,DB
#Logger.chat.log.addon.raid=2,DB
Logger.chat.log.raid=2,DB
#Logger.chat.log.addon.bg=2,DB
Logger.chat.log.bg=2,DB
#Logger.chat.log.addon.guild=2,DB
Logger.chat.log.guild=2,DB
Logger.chat.log.guild.officer=2,DB
Logger.chat.log.channel=2,DB
#Logger.chat.log=2,DB <-- this logs everything
#Logger.chat.system=2,DB
Logger.entities.player.items=3,DB
#Logger.loot=2,DB
Logger.network.soap=2,DB
#Logger.achievement=3,Console Server
#Logger.addon=3,Console Server
#Logger.ahbot=3,Console Server
#Logger.auctionHouse=3,Console Server
#Logger.calendar=3,Console Server
#Logger.condition=3,Console Server
#Logger.entities.pet=3,Console Server
#Logger.entities.player=3,Console Server
#Logger.entities.player.loading=3,Console Server
#Logger.entities.player.skills=3,Console Server
#Logger.entities.transport=3,Console Server
#Logger.entities.unit=3,Console Server
#Logger.entities.vehicle=3,Console Server
#Logger.gameevent=3,Console Server
#Logger.guild=3,Console Server
#Logger.lfg=3,Console Server
#Logger.loot=3,Console Server
#Logger.maps.script=3,Console Server
#Logger.maps=3,Console Server
#Logger.misc=3,Console Server
#Logger.network=3,Console Server
#Logger.network.opcode=3,Console Server
#Logger.outdoorpvp=3,Console Server
#Logger.pool=3,Console Server
#Logger.rbac=3,Console Server
#Logger.scripts=3,Console Server
#Logger.scripts.ai=3,Console Server
#Logger.server.authserver=3,Console Server
#Logger.spells=3,Console Server
#Logger.spells.periodic=3,Console Server
#Logger.sql.driver=3,Console Server
#########################################################
# TriniChat IRC BOT For Trinity Core Configuration File #
#########################################################
# irc.active
# Enable TriniChat Addon
# Default: 1 - Enable
# 0 - Disable
#
irc.active = 0
##################################################
# irc.icc
# IRC connect code
# Default: 001 - Welcome To Network msg
# 375 - Beginning Of MOTD
# 376 - End Of MOTD
#
irc.icc = 001
##################################################
# irc.host
# IRC server to have TriniChat connect to
#
irc.host = "irc.rizon.net"
##################################################
# irc.port
# IRC server port to use
#
irc.port = "6669"
##################################################
# irc.user
# The username to have TriniChat use to connect to the IRC server
# irc.nick
# IRC nickname to be used by the bot
# irc.pass
# The password to be used to identify to NickServ (IRC NickName Enforcement Services)
#
irc.user = "azth-gamechat-bot"
irc.nick = "azth-gamechat-bot"
irc.pass = "ServicesPass"
##################################################
# irc.auth
# IRC Authentication Method
# Default: 0 - Disable
# 1 - NickServ - Normal Method - PRIVMSG NickServ :IDENTIFY Password
# 2 - NickServ - Alternate Method To Identify To A Different Nick - PRIVMSG NickServ :IDENTIFY irc.auth.nick Password
# 3 - QuakeNet - Normal Method - PRIVMSG Q@CServe.quakenet.org :AUTH irc.nick Password
# 4 - QuakeNet - Alternate Method To Identify To A Different Nick - PRIVMSG Q@CServe.quakenet.org :AUTH irc.auth.nick Password
# irc.auth.nick
# IRC Nickname to use if Auth method 2 or 4 is used
#
irc.auth = 0
irc.auth.nick = "AuthNick"
##################################################
# irc.ldef
# Leave a defined IRC channel on server connect
# Default: 0 - Disable
# 1 - Enable
# irc.defchan
# IRC channel to leave on server connect if irc.ldef is on
#
irc.ldef = 0
irc.defchan = "lobby"
##################################################
# irc.wct
# Time to wait before (re)attemptimg connection to IRC server
# Default: 30000 - (30 Seconds)
# irc.maxattempt
# Maximum attempts to try IRC server
# Default: 20
#
irc.wct = 30000
irc.maxattempt = 20
##################################################
# irc.auto.announce
# Time to wait in Minutes to announce random messages from database.
# Default: 30 - (30 Minutes)
#
irc.auto.announce = 30
##################################################
# irc.autojoin_kick
# Autojoin IRC channel if kicked
# Default: 1 - Enable
# 0 - Disable
#
irc.autojoin_kick = 1
##################################################
# irc.command_prefix
# IRC command prefix
# Example: (.)online all
#
irc.command_prefix = "\"
##################################################
# irc.joinmsg
# irc.rstmsg
# irc.kickmsg
# TriniChat bot join/restart/kick messages
#
irc.joinmsg = "E' possibile parlare con i giocatori in game tramite il nostro server discord. Corri a provare!"
irc.rstmsg = "La chat IRC di AzerothShard si sta riavviando, Ritornerà a breve"
irc.kickmsg = "Do Not Kick Me Again, Severe Actions Will Be Taken!"
##################################################
# irc.chan_#
# wow.chan_#
# IRC and WOW channels to link. Leave # out of IRC channel. Both channels _ARE_ case sensitive
# NOTE: you can have more than 1 IRC channel linked to wow channels, as in example:
# Example: irc.chan_1 = "Trinity"
# irc.chan_2 = "trinity2"
# wow.chan_1 = "world"
# wow.chan_2 = "LookingForGroup"
# irc.pass_#
# Passwords for said IRC channels (IRC server side)
# Example:
# irc.pass_1 = "password" password for irc channel #1
# irc.pass_2 = "password2" password for irc channel #2
irc.chan_1 = "azerothshard"
wow.chan_1 = "world"
irc.pass_1 = "pass"
##################################################
# irc.staff_link
# if set to 1 will link gm name announce to irc channel
# Default: 0
# irc.staff_chan
# Print IRC messages to GM Name Announce and Gm Name Announce to IRC Channel
# Default: "staff"
# irc.ignore_bots
# enter nicks of bots to ignore seprated by commas
# Default: ""
#
irc.staff_link = 0
irc.staff_chan = "staff"
irc.ignore_bots = ""
##################################################
# irc.StatusChannel
# Channel Name To Display Status Messages In (AuctionHouse, Levels, Deaths, Etc)
# Default: ""
# irc.AnnounceChannel
# Channel Name To Display Announcements In (Announces, Notifies, Event)
# Default: ""
# irc.Tickets
# Channel Name To Display Ticket Announcment in (Create, Edit, Closed, lag Reports)
# Default: ""
# Note: Botmask : Enable Ticket Announment must be activ
#
irc.StatusChannel = ""
irc.StatusChannelPW = ""
irc.AnnounceChannel = "azerothshard"
irc.AnnounceChannelPW = ""
irc.Tickets = ""
irc.TicketsPW = ""
##################################################
# irc.op_gm_login
# Op The GM In All Channels The Bot Is On When They Log In To TriniChat
# Default: 0 - Disable
# 1 - Enable
# irc.op_gm_level
# The Minimum GM Level Required To Have The Bot Op The User
# Default: 3 - GM Level 3
#
irc.op_gm_login = 0
irc.op_gm_level = 3
##################################################
# irc.ajoin (Experimental/Under Development)
# Force players to autojoin a WOW in game channel
# Atleast one player must be in the channel on server start, and atleast one person online for invite to work
# Default: 0 - Disable
# 1 - Enable
# irc.ajchan
# Channel to join if above is Enabled.
#
irc.ajoin = 1
irc.ajchan = "world"
##################################################
# irc.online.result
# Maximum number of results per line for the online command
#
irc.online.result = 30
##################################################
# chat.*** (Defineable Strings) (maybe more in future)
# wow_* - String is displayed in IRC channel
# irc_* - String is displayed in WOW channel
# Options: $Name, $Level, $Class, $Msg, $GM (not all options work in every string)
#
chat.wow_irc = "<WoW>[$Name($Level)[$Class]] $Msg"
chat.irc_wow = "<IRC>[$Name]: $Msg"
chat.join_wow = "12>>04 $GM$Name Joined The $Channel Channel!"
chat.join_irc = "[$Name]: Has Joined IRC!"
chat.leave_wow = "12<<04 $GM$Name Left The $Channel Channel!"
chat.leave_irc = "[$Name]: Has Left IRC!"
chat.change_nick = "<> $Name Is Now Known As $NewName!"
##################################################
# Botmask
# This defines what the bot announces, if its 0 everything is disabled
# simply add the values of the elements you want to create this mask.
# Example: WoW join/leaves are 1 and IRC join/leaves are 2, if you want both of these active then the BotMask is 3.
# (1)Display WoW Chan Join/Leaves In IRC
# (2)Display IRC Chan Join/Leaves/NickChanges In WoW
# (4)Display Unknown Command Message When Trigger Is Used And No Command Exists
# (8)Announce Security Level > 0 As GM At Login
# (16)Announce GM In GM ON State AS GM At Login
# (32)Return Errors To Notice. (If disabled then default is Private Message)
# (64)Display WoW Status Messages (Levels/Deaths)
# (128)Display Nick Changes From IRC In WOW
# (256)Display WoW Announces/Notifies In IRC
# (512)Do Not Let Players Use Commands On Higher GM Level Players
# (1024)Enable AuctionHouse Announcements !!DISSABLED!!
#
Botmask = 1856
##################################################
# irc.gmlog
# Minimum GM level to not show login/pass info in IRC logs
# irc.logfile.prefix
# The prefix of the IRC logfile. Directories can be added here.
# Example: "IRC/IRC_" outputs IRC_YYYY-MM-DD.log to the IRC subdirectory in your logs dir
# irc.logchannel
# Specefies the channel where logged output gets broadcasted.
# Default: "" (none)
# irc.logchannelpw
# The password for the log channel.
# irc.logmask
# Bitmask, see Botmask for explanation. Determines what gets logged to the logchannel.
# (0) Do not broadcast into logchannel.
# (1) Broadcast IRC Commands into logchannel.
# (2) Broadcast Ingame GM Commands into logchannel.
# (3) Broadcast both IRC Commands and GM Commands into logchannel.
irc.gmlog = 1
irc.logfile.prefix = "IRC_"
irc.logchannel = ""
irc.logchannelpw = ""
irc.logmask = 3
##################################################
# irc.fun.games (Experimental/Under Development)
# Enable TriniChat Games
# Default: 0 - Disable
# 1 - Enable
#
irc.fun.games = 0
##################################################
# irc.gm#
# GM tag to append to (GM onjoin / online command) IRC color codes are acceptable
#
irc.gm1 = "[Supporter]"
irc.gm2 = "[Protector]"
irc.gm3 = "[GM]"
irc.gm4 = "[Moderator]"
irc.gm5 = "[Game Master]"
irc.gm6 = "[Admin]"
irc.gm7 = "[Developer]"
irc.gm8 = "[Owner]"
#
###################################################################################################
#
###################################################################################################
###################################################################################################
+91
View File
@@ -0,0 +1,91 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
#
# TEST - RELATED
#
CleanCharacterDB = 1
# zero on dev
MaxCoreStuckTime = 30
# symbolic link
SourceDirectory = "../../usr/server-test"
Azth.Conf.Private="../../../etc/world-test-priv.conf"
#
# DEV/TEST SHARED CONF
#
DataDir = "../../data"
LogsDir = "../../logs"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Reame di sviluppo e test di AzerothShard"
# world + extra + char
Updates.EnableDatabases = 14
Warden.Enabled = 0
Wintergrasp.Enable = 1
Wintergrasp.BattleTimer = 30
Wintergrasp.NoBattleTimer = 1
Ra.Enable = 0
SOAP.Enabled = 0
Log.Async.Enable = 0
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
Appender.GM=2,1,31,gm/gm.log,a, 8000000
#
# Database appenders
#
Appender.DB=3,1,7
#
# SERVER warning / errors
#
Logger.root=3,Console Server
Logger.server=3,Console Server
Logger.sql.dev=3,Console DBLogs
Logger.mmaps=3,Server
Logger.sql.updates=4,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,GM
Logger.commands.ra=2,Server
Logger.sql.sql=2,DBLogs
Logger.cheat=3,DB
Logger.warden=3,DB
irc.active = 0
@@ -0,0 +1,76 @@
[worldserver]
#
# !!!!!!!WARNING!!!!!!!
# this file must be modified ONLY via repository
# all changes here will be lost at next make install
# if you need to change some conf temporary
# please use the private file instead
#
#
# performances
#
vmap.enableLOS = 0
vmap.enableHeight = 0
mmap.enablePathFinding = 0
vmap.enableIndoorCheck = 0
DetectPosCollision = 0
TargetPosRecalculateRange = 5.0
UseProcessors = 1
ProcessPriority = 0
# zero on dev
MaxCoreStuckTime = 30
# symbolic link
SourceDirectory = "../../usr/server-trilogy"
Azth.Conf.Private="../../../etc/world-trilogy-priv.conf"
DataDir = "../../data"
LogsDir = "../../logs"
MySQLExecutable = "/usr/bin/mysql"
Motd = "Reame per il merging di trilogy"
# only world
Updates.EnableDatabases = 6
Ra.Enable = 0
SOAP.Enabled = 1
Log.Async.Enable = 1
Appender.Console=1,1,7
#
# Files appenders
#
Appender.Server=2,1,31,Server.log,a,30000000
Appender.DBLogs=2,1,31,DBLogs.log,a,30000000
#
# SERVER warning / errors
#
Logger.root=3,Console Server
Logger.server=3,Console Server
Logger.sql.dev=3,Console DBLogs
Logger.sql.updates=4,Console DBLogs
#
# Security Logs
#
Logger.commands.gm=2,Server
Logger.commands.ra=2,Server
Logger.sql.sql=2,DBLogs
Logger.cheat=3,Server
Logger.warden=3,Server
irc.active = 0
@@ -0,0 +1,4 @@
DELETE FROM `rbac_linked_permissions` WHERE `linkedId` = 1004;
DELETE FROM `rbac_permissions` WHERE `id` = 1004;
INSERT INTO `rbac_permissions` (`id`,`name`) VALUES (1004,'PVP Custom Commands');
INSERT INTO `rbac_linked_permissions` (`id`,`linkedId`) VALUES (195,1004);
@@ -0,0 +1,19 @@
delete from rbac_permissions where id = 1003;
insert into rbac_permissions(id, name) values (1003, 'Command azth custom xp rate');
delete from rbac_linked_permissions where linkedId = 1003;
insert into rbac_linked_permissions (id, linkedId) values
(192, 1003),
(193, 1003),
(194, 1003),
(195, 1003);
delete from rbac_permissions where id = 1002;
insert into rbac_permissions(id, name) values (1002, 'Command azth custom maxskill');
delete from rbac_linked_permissions where linkedId = 1002;
insert into rbac_linked_permissions (id, linkedId) values
(192, 1002),
(193, 1002),
(194, 1002),
(195, 1002);
@@ -0,0 +1,414 @@
#
# AzerothShard RBAC Structure
#
# Current original Roles are:
# 198 Moderator Commands
# 197 GameMaster Commands
# 196 Administrator Commands
#
# 195: Player 0
# 194: Moderator 1
# 193: GameMaster 2
# 192: Administrator 3
#
# AzerothShard custom roles: 100000+
#
# IMPORTANT RULE: do NOT insert duplicate linked permissions for multiple non-custom roles
#
# EDIT DEFAULT PERMISSIONS
#
# Set general custom permission
UPDATE IGNORE `rbac_linked_permissions` SET `id` = 195 WHERE `id` < 100000 AND `linkedId` IN (
25, # Allow say chat between factions
26, # Allow channel chat between factions
27, # Two side mail interaction
28, # See two side who list
29, # Add friends of other faction
51 # Allow trading between factions
);
# Move to GM level 3 some dangerous commands
UPDATE IGNORE `rbac_linked_permissions` SET `id` = 192 WHERE `id` < 100000 AND `linkedId` IN (
772, # Command: wp unload
771, # Command: wp modify
770, # Command: wp load
769, # Command: wp event
768, # Command: wp add
595, # Command: npc move
591, # Command: npc set spawntime
590, # Command: npc set spawndist
589, # Command: npc set phase
588, # Command: npc set movetype
587, # Command: npc set model
586, # Command: npc set link
585, # Command: npc set level
584, # Command: npc set flag
583, # Command: npc set factionid
580, # Command: npc set
579, # Command: npc add follow stop
578, # Command: npc add follow
577, # Command: npc add delete item
576, # Command: npc add delete
575, # Command: npc add temp
574, # Command: npc add move
573, # Command: npc add item
572, # Command: npc add formation
571, # Command: npc add
399, # Command: gobject turn
397, # Command: gobject set state
396, # Command: gobject set phase
395, # Command: gobject set
393, # Command: gobject move
391, # Command: gobject delete
390, # Command: gobject add temp
389, # Command: gobject add
370, # Command: event stop
369, # Command: event start
532, # Command: unmute
515, # Command: mute
597, # Command: npc say
598, # Command: npc texemote
599, # Command: npc whisper
600 # Command: npc yell
);
SET FOREIGN_KEY_CHECKS=0; -- disable temporary FKEY check
#
# Create AzerothShard custom Roles
#
DELETE FROM `rbac_linked_permissions` WHERE `id` >= 100000 OR `linkedId` >= 100000;
DELETE FROM `rbac_permissions` WHERE `id` >= 100000;
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
('100000', 'Role: Azeroth GM Tier 0 ( Shared Interface )'),
('100001', 'Role: Azeroth GM Tier 1 ( Supporter )'),
('100002', 'Role: Azeroth GM Tier 2 ( Protector )'),
('100003', 'Role: Azeroth GM Tier 3 ( da definire )'),
('100004', 'Role: Master Entertainer'),
('100005', 'Role: Entertainer'),
('100006', 'Role: Master Story Teller'),
('100010', 'Role: Story Teller'),
('100011', 'Role: Test Player'),
('100012', 'Role: Azeroth Player'),
('100013', 'Role: Test GM'),
('100014', 'Role: Master Test GM'),
('200000', 'DISABLED COMMANDS');
#
# Create Other AS Custom Permissions
#
DELETE FROM `rbac_permissions` WHERE `id` IN ('1000');
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
('1000', 'Quest completer command');
-- Disable dangerous commands
UPDATE `rbac_linked_permissions` SET `id` = 200000 WHERE `id` < 100000 AND `linkedId` IN (
717 # Command: reset all
);
SET FOREIGN_KEY_CHECKS=1; -- re-enable foreign key check
# Add default permissions
# test
DELETE FROM `rbac_default_permissions` WHERE `permissionId` >= 100000;
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('0', '100011', 2);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('1', '100013', 2);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('2', '100014', 2);
# development
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('0', '100011', 3);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('1', '100013', 3);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('2', '100014', 3);
# next
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('0', '100011', 4);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('1', '100013', 4);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`, `realmId`) VALUES ('2', '100014', 4);
INSERT INTO `rbac_default_permissions` (`secId`, `permissionId`) VALUES ('0', '100012');
# Query to check current used permissions
# SELECT * FROM rbac_permissions WHERE id IN (SELECT linkedId FROM rbac_linked_permissions WHERE id >= 100000);
#
### LIVE SERVER ROLES ###
#
# [100012] Azeroth player
INSERT INTO `rbac_linked_permissions` VALUES (100012, 195); # inheriting from PLAYER
INSERT INTO `rbac_linked_permissions` VALUES (100012, 309); # Command: debug hostil
INSERT INTO `rbac_linked_permissions` VALUES (100012, 442); # Command: lookup
INSERT INTO `rbac_linked_permissions` VALUES (100012, 443); # Command: lookup area
INSERT INTO `rbac_linked_permissions` VALUES (100012, 444); # Command: lookup creature
INSERT INTO `rbac_linked_permissions` VALUES (100012, 445); # Command: lookup event
INSERT INTO `rbac_linked_permissions` VALUES (100012, 446); # Command: lookup faction
INSERT INTO `rbac_linked_permissions` VALUES (100012, 447); # Command: lookup item
INSERT INTO `rbac_linked_permissions` VALUES (100012, 448); # Command: lookup itemset
INSERT INTO `rbac_linked_permissions` VALUES (100012, 449); # Command: lookup object
INSERT INTO `rbac_linked_permissions` VALUES (100012, 450); # Command: lookup quest
INSERT INTO `rbac_linked_permissions` VALUES (100012, 456); # Command: lookup spell
INSERT INTO `rbac_linked_permissions` VALUES (100012, 457); # Command: lookup spell id
INSERT INTO `rbac_linked_permissions` VALUES (100012, 458); # Command: lookup taxinode
INSERT INTO `rbac_linked_permissions` VALUES (100012, 460); # Command: lookup title
INSERT INTO `rbac_linked_permissions` VALUES (100012, 461); # Command: lookup map
INSERT INTO `rbac_linked_permissions` VALUES (100012, 718); # Command: server
INSERT INTO `rbac_linked_permissions` VALUES (100012, 1000); # Command: qc
INSERT INTO `rbac_linked_permissions` VALUES (100012, 736); # Command: server motd
# [100000] TIER 0: Interface shared by all GMs
#
# PERMISSIONS
#
INSERT INTO `rbac_linked_permissions` VALUES (100000, 11); # log gm trades
INSERT INTO `rbac_linked_permissions` VALUES (100000, 45); # join channel without announce
INSERT INTO `rbac_linked_permissions` VALUES (100000, 46); # change channel settings without be a Moderator
#
# COMMANDS
#
INSERT INTO `rbac_linked_permissions` VALUES (100000, 194); # inheriting from GM 1
INSERT INTO `rbac_linked_permissions` VALUES (100000, 100012); # inheriting from Azeroth Player
INSERT INTO `rbac_linked_permissions` VALUES (100000, 373); # Command: gm fly
INSERT INTO `rbac_linked_permissions` VALUES (100000, 459); # Command: lookup tele
INSERT INTO `rbac_linked_permissions` VALUES (100000, 593); # Command: npcinfo
INSERT INTO `rbac_linked_permissions` VALUES (100000, 796); # Command: instance getbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100000, 517); # Command: pinfo
INSERT INTO `rbac_linked_permissions` VALUES (100000, 556); # Command: modify phase
INSERT INTO `rbac_linked_permissions` VALUES (100000, 513); # Command: maxskill
INSERT INTO `rbac_linked_permissions` VALUES (100000, 522); # Command: respawn
INSERT INTO `rbac_linked_permissions` VALUES (100000, 523); # Command: revive
INSERT INTO `rbac_linked_permissions` VALUES (100000, 526); # Command: set skill
INSERT INTO `rbac_linked_permissions` VALUES (100000, 558); # Command: modify rep
INSERT INTO `rbac_linked_permissions` VALUES (100000, 451); # Command: lookup player
INSERT INTO `rbac_linked_permissions` VALUES (100000, 452); # Command: lookup player ip
INSERT INTO `rbac_linked_permissions` VALUES (100000, 453); # Command: lookup player account
INSERT INTO `rbac_linked_permissions` VALUES (100000, 454); # Command: lookup player email
INSERT INTO `rbac_linked_permissions` VALUES (100000, 455); # Command: lookup skill [ can inspect other players skills ]
INSERT INTO `rbac_linked_permissions` VALUES (100000, 417); # Command: learn
INSERT INTO `rbac_linked_permissions` VALUES (100000, 418); # Command: learn all
INSERT INTO `rbac_linked_permissions` VALUES (100000, 419); # Command: learn all my
INSERT INTO `rbac_linked_permissions` VALUES (100000, 420); # Command: learn all my class
INSERT INTO `rbac_linked_permissions` VALUES (100000, 421); # Command: learn all my pettalents
INSERT INTO `rbac_linked_permissions` VALUES (100000, 422); # Command: learn all my spells
INSERT INTO `rbac_linked_permissions` VALUES (100000, 423); # Command: learn all my talents
INSERT INTO `rbac_linked_permissions` VALUES (100000, 424); # Command: learn all gm
INSERT INTO `rbac_linked_permissions` VALUES (100000, 425); # Command: learn all crafts
INSERT INTO `rbac_linked_permissions` VALUES (100000, 426); # Command: learn all default
INSERT INTO `rbac_linked_permissions` VALUES (100000, 427); # Command: learn all lang
INSERT INTO `rbac_linked_permissions` VALUES (100000, 428); # Command: learn all recipes
INSERT INTO `rbac_linked_permissions` VALUES (100000, 429); # COmmand: unlearn
INSERT INTO `rbac_linked_permissions` VALUES (100000, 251); # Command: banlist ip
INSERT INTO `rbac_linked_permissions` VALUES (100000, 250); # Command: banlist character
INSERT INTO `rbac_linked_permissions` VALUES (100000, 249); # Command: banlist account
INSERT INTO `rbac_linked_permissions` VALUES (100000, 248); # Command: banlist
INSERT INTO `rbac_linked_permissions` VALUES (100000, 247); # Command: baninfo ip
INSERT INTO `rbac_linked_permissions` VALUES (100000, 246); # Command: baninfo character
INSERT INTO `rbac_linked_permissions` VALUES (100000, 245); # Command: baninfo account
INSERT INTO `rbac_linked_permissions` VALUES (100000, 244); # Command: baninfo
INSERT INTO `rbac_linked_permissions` VALUES (100000, 521); # Command: repairitems
INSERT INTO `rbac_linked_permissions` VALUES (100000, 711); # Command: reset achievements
INSERT INTO `rbac_linked_permissions` VALUES (100000, 712); # Command: reset honor
INSERT INTO `rbac_linked_permissions` VALUES (100000, 713); # Command: reset level
INSERT INTO `rbac_linked_permissions` VALUES (100000, 714); # Command: reset spells
INSERT INTO `rbac_linked_permissions` VALUES (100000, 715); # Command: reset stats
INSERT INTO `rbac_linked_permissions` VALUES (100000, 716); # Command: reset talents
INSERT INTO `rbac_linked_permissions` VALUES (100000, 710); # Command: reset
INSERT INTO `rbac_linked_permissions` VALUES (100000, 488); # Command: additem
INSERT INTO `rbac_linked_permissions` VALUES (100000, 489); # Command: additemset
INSERT INTO `rbac_linked_permissions` VALUES (100000, 287); # Command: levelup
INSERT INTO `rbac_linked_permissions` VALUES (100000, 231); # Command: achievement add
INSERT INTO `rbac_linked_permissions` VALUES (100000, 602); # Command: quest
INSERT INTO `rbac_linked_permissions` VALUES (100000, 603); # Command: quest add
INSERT INTO `rbac_linked_permissions` VALUES (100000, 604); # Command: quest complete
INSERT INTO `rbac_linked_permissions` VALUES (100000, 605); # Command: quest remove
INSERT INTO `rbac_linked_permissions` VALUES (100000, 606); # Command: quest reward
INSERT INTO `rbac_linked_permissions` VALUES (100000, 578); # Command: npc follow
INSERT INTO `rbac_linked_permissions` VALUES (100000, 579); # Command: npc follow stop
INSERT INTO `rbac_linked_permissions` VALUES (100000, 777); # Command: mailbox
INSERT INTO `rbac_linked_permissions` VALUES (100000, 284); # Command: character rename
INSERT INTO `rbac_linked_permissions` VALUES (100000, 274); # Command: character customize
INSERT INTO `rbac_linked_permissions` VALUES (100000, 275); # Command: character changefaction
INSERT INTO `rbac_linked_permissions` VALUES (100000, 276); # Command: character changerace
INSERT INTO `rbac_linked_permissions` VALUES (100000, 795); # Command: instance setbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100000, 529); # Command: unaura
INSERT INTO `rbac_linked_permissions` VALUES (100000, 500); # Command: die
INSERT INTO `rbac_linked_permissions` VALUES (100000, 439); # Command: list object
INSERT INTO `rbac_linked_permissions` VALUES (100000, 512); # Command: listfreeze
INSERT INTO `rbac_linked_permissions` VALUES (100000, 398); # gobject target
INSERT INTO `rbac_linked_permissions` VALUES (100000, 390); # gobject add temp
INSERT INTO `rbac_linked_permissions` VALUES (100000, 394); # gobject near
INSERT INTO `rbac_linked_permissions` VALUES (100000, 388); # gobject near
INSERT INTO `rbac_linked_permissions` VALUES (100000, 497); # command: cooldown
INSERT INTO `rbac_linked_permissions` VALUES (100000, 575); # command: npc add temp
INSERT INTO `rbac_linked_permissions` VALUES (100000, 680); # command: reload rbac
INSERT INTO `rbac_linked_permissions` VALUES (100000, 505); # command: gps
INSERT INTO `rbac_linked_permissions` VALUES (100000, 406); # command: guild rank
#
# WORLD CHANGE COMMANDS
#
INSERT INTO `rbac_linked_permissions` VALUES (100000,772); # Command: wp unload
INSERT INTO `rbac_linked_permissions` VALUES (100000,771); # Command: wp modify
INSERT INTO `rbac_linked_permissions` VALUES (100000,770); # Command: wp load
INSERT INTO `rbac_linked_permissions` VALUES (100000,769); # Command: wp event
INSERT INTO `rbac_linked_permissions` VALUES (100000,768); # Command: wp add
INSERT INTO `rbac_linked_permissions` VALUES (100000,595); # Command: npc move
INSERT INTO `rbac_linked_permissions` VALUES (100000,591); # Command: npc set spawntime
INSERT INTO `rbac_linked_permissions` VALUES (100000,590); # Command: npc set spawndist
INSERT INTO `rbac_linked_permissions` VALUES (100000,589); # Command: npc set phase
INSERT INTO `rbac_linked_permissions` VALUES (100000,588); # Command: npc set movetype
INSERT INTO `rbac_linked_permissions` VALUES (100000,587); # Command: npc set model
INSERT INTO `rbac_linked_permissions` VALUES (100000,586); # Command: npc set link
INSERT INTO `rbac_linked_permissions` VALUES (100000,585); # Command: npc set level
INSERT INTO `rbac_linked_permissions` VALUES (100000,584); # Command: npc set flag
INSERT INTO `rbac_linked_permissions` VALUES (100000,583); # Command: npc set factionid
INSERT INTO `rbac_linked_permissions` VALUES (100000,580); # Command: npc set
INSERT INTO `rbac_linked_permissions` VALUES (100000,577); # Command: npc add delete item
INSERT INTO `rbac_linked_permissions` VALUES (100000,576); # Command: npc add delete
INSERT INTO `rbac_linked_permissions` VALUES (100000,574); # Command: npc add move
INSERT INTO `rbac_linked_permissions` VALUES (100000,573); # Command: npc add item
INSERT INTO `rbac_linked_permissions` VALUES (100000,572); # Command: npc add formation
INSERT INTO `rbac_linked_permissions` VALUES (100000,571); # Command: npc add
INSERT INTO `rbac_linked_permissions` VALUES (100000,399); # Command: gobject turn
INSERT INTO `rbac_linked_permissions` VALUES (100000,397); # Command: gobject set state
INSERT INTO `rbac_linked_permissions` VALUES (100000,396); # Command: gobject set phase
INSERT INTO `rbac_linked_permissions` VALUES (100000,395); # Command: gobject set
INSERT INTO `rbac_linked_permissions` VALUES (100000,393); # Command: gobject move
INSERT INTO `rbac_linked_permissions` VALUES (100000,391); # Command: gobject delete
INSERT INTO `rbac_linked_permissions` VALUES (100000,389); # Command: gobject add
# [100001] TIER 1: Supporter
INSERT INTO `rbac_linked_permissions` VALUES (100001, 100000); # inheriting from TIER 0
INSERT INTO `rbac_linked_permissions` VALUES (100001, 743); # Command: ticket assign
INSERT INTO `rbac_linked_permissions` VALUES (100001, 515); # Command: mute
# [100002] TIER 2: Protector - Moderator
INSERT INTO `rbac_linked_permissions` VALUES (100002, 193); # inheriting from GM 2
INSERT INTO `rbac_linked_permissions` VALUES (100002, 100001); # inherit from TIER 1
INSERT INTO `rbac_linked_permissions` VALUES (100002, 554); # Command: modify money [ dangerous ]
INSERT INTO `rbac_linked_permissions` VALUES (100002, 256); # Command: unban playeraccount
INSERT INTO `rbac_linked_permissions` VALUES (100002, 255); # Command: unban ip
INSERT INTO `rbac_linked_permissions` VALUES (100002, 254); # Command: unban character
INSERT INTO `rbac_linked_permissions` VALUES (100002, 253); # Command: unban account
INSERT INTO `rbac_linked_permissions` VALUES (100002, 252); # Command: unban
INSERT INTO `rbac_linked_permissions` VALUES (100002, 243); # Command: ban playeraccount
INSERT INTO `rbac_linked_permissions` VALUES (100002, 242); # Command: ban ip
INSERT INTO `rbac_linked_permissions` VALUES (100002, 241); # Command: ban character
INSERT INTO `rbac_linked_permissions` VALUES (100002, 240); # Command: ban account
INSERT INTO `rbac_linked_permissions` VALUES (100002, 239); # Command: ban
INSERT INTO `rbac_linked_permissions` VALUES (100002, 542); # Command: morph
INSERT INTO `rbac_linked_permissions` VALUES (100002, 543); # Command: demorph
INSERT INTO `rbac_linked_permissions` VALUES (100002, 532); # Command: unmute
# [100003] TIER 3
INSERT INTO `rbac_linked_permissions` VALUES (100003, 193); # inheriting from GM LVL 2
INSERT INTO `rbac_linked_permissions` VALUES (100003, 100002); # inherit from TIER 2
# [100005] Entertainer
INSERT INTO `rbac_linked_permissions` VALUES (100005, 100000); # inherit from TIER 0
INSERT INTO `rbac_linked_permissions` VALUES (100005, 542); # Command: morph
INSERT INTO `rbac_linked_permissions` VALUES (100005, 543); # Command: demorph
INSERT INTO `rbac_linked_permissions` VALUES (100005, 535); # Command: wchange
INSERT INTO `rbac_linked_permissions` VALUES (100005, 597); # Command: npc say
INSERT INTO `rbac_linked_permissions` VALUES (100005, 596); # Command: npc playemote
INSERT INTO `rbac_linked_permissions` VALUES (100005, 598); # Command: npc textemote
INSERT INTO `rbac_linked_permissions` VALUES (100005, 599); # Command: npc whisper
INSERT INTO `rbac_linked_permissions` VALUES (100005, 600); # Command: npc yell
INSERT INTO `rbac_linked_permissions` VALUES (100005, 480); # Command: pet create
# [100004] Master Entertainer
INSERT INTO `rbac_linked_permissions` VALUES (100004, 100005); # inheriting from Entertainer
INSERT INTO `rbac_linked_permissions` VALUES (100004, 193); # inheriting from GM LVL 2
# [100010] Story Teller
INSERT INTO `rbac_linked_permissions` VALUES (100010, 100005); # inherit from Entertainer
# [100006] Master Story Teller
INSERT INTO `rbac_linked_permissions` VALUES (100006, 100010); # inheriting Story Teller
INSERT INTO `rbac_linked_permissions` VALUES (100006, 193); # inheriting from GM LVL 2
### TEST SERVER ROLES ###
# Special: test realm player
INSERT INTO `rbac_linked_permissions` VALUES (100011, 100012); # inheriting from Azeroth Player
INSERT INTO `rbac_linked_permissions` VALUES (100011, 291); # Command: cheat
INSERT INTO `rbac_linked_permissions` VALUES (100011, 294); # Command: cheat explore
INSERT INTO `rbac_linked_permissions` VALUES (100011, 298); # Command: cheat taxi
INSERT INTO `rbac_linked_permissions` VALUES (100011, 377); # Command: go
INSERT INTO `rbac_linked_permissions` VALUES (100011, 378); # Command: go creature
INSERT INTO `rbac_linked_permissions` VALUES (100011, 442); # Command: lookup
INSERT INTO `rbac_linked_permissions` VALUES (100011, 447); # Command: lookup item
INSERT INTO `rbac_linked_permissions` VALUES (100011, 488); # Command: additem
INSERT INTO `rbac_linked_permissions` VALUES (100011, 489); # Command: additemset
INSERT INTO `rbac_linked_permissions` VALUES (100011, 287); # Command: levelup
INSERT INTO `rbac_linked_permissions` VALUES (100011, 554); # Command: modify money
INSERT INTO `rbac_linked_permissions` VALUES (100011, 737); # Command: tele
INSERT INTO `rbac_linked_permissions` VALUES (100011, 459); # Command: lookup tele
INSERT INTO `rbac_linked_permissions` VALUES (100011, 593); # Command: npcinfo
INSERT INTO `rbac_linked_permissions` VALUES (100011, 796); # Command: instance getbossstate
# Special: test realm GM
INSERT INTO `rbac_linked_permissions` VALUES (100013, 193); # inheriting from GM LVL 2
INSERT INTO `rbac_linked_permissions` VALUES (100013, 100011); # inherit from test player
INSERT INTO `rbac_linked_permissions` VALUES (100013, 100010); # inherit from common GM interface
INSERT INTO `rbac_linked_permissions` VALUES (100013, 498); # Command: damage
INSERT INTO `rbac_linked_permissions` VALUES (100013, 500); # Command: die
INSERT INTO `rbac_linked_permissions` VALUES (100013, 795); # Command: instance setbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100013, 796); # Command: instance getbossstate
INSERT INTO `rbac_linked_permissions` VALUES (100013, 370); # Command: event stop
INSERT INTO `rbac_linked_permissions` VALUES (100013, 369); # Command: event start
INSERT INTO `rbac_linked_permissions` VALUES (100013, 373); # Command: gm fly
INSERT INTO `rbac_linked_permissions` VALUES (100013, 517); # Command: pinfo
INSERT INTO `rbac_linked_permissions` VALUES (100013, 513); # Command: maxskill
INSERT INTO `rbac_linked_permissions` VALUES (100013, 522); # Command: respawn
INSERT INTO `rbac_linked_permissions` VALUES (100013, 523); # Command: revive
INSERT INTO `rbac_linked_permissions` VALUES (100013, 526); # Command: set skill
INSERT INTO `rbac_linked_permissions` VALUES (100013, 558); # Command: modify rep
INSERT INTO `rbac_linked_permissions` VALUES (100013, 455); # Command: lookup skill [ can inspect other players skills ]
INSERT INTO `rbac_linked_permissions` VALUES (100013, 556); # Command: modify phase
INSERT INTO `rbac_linked_permissions` VALUES (100013, 417); # Command: learn
INSERT INTO `rbac_linked_permissions` VALUES (100013, 418); # Command: learn all
INSERT INTO `rbac_linked_permissions` VALUES (100013, 419); # Command: learn all my
INSERT INTO `rbac_linked_permissions` VALUES (100013, 420); # Command: learn all my class
INSERT INTO `rbac_linked_permissions` VALUES (100013, 421); # Command: learn all my pettalents
INSERT INTO `rbac_linked_permissions` VALUES (100013, 422); # Command: learn all my spells
INSERT INTO `rbac_linked_permissions` VALUES (100013, 423); # Command: learn all my talents
INSERT INTO `rbac_linked_permissions` VALUES (100013, 424); # Command: learn all gm
INSERT INTO `rbac_linked_permissions` VALUES (100013, 425); # Command: learn all crafts
INSERT INTO `rbac_linked_permissions` VALUES (100013, 426); # Command: learn all default
INSERT INTO `rbac_linked_permissions` VALUES (100013, 427); # Command: learn all lang
INSERT INTO `rbac_linked_permissions` VALUES (100013, 428); # Command: learn all recipes
INSERT INTO `rbac_linked_permissions` VALUES (100013, 429); # COmmand: unlearn
INSERT INTO `rbac_linked_permissions` VALUES (100013, 521); # Command: repairitems
INSERT INTO `rbac_linked_permissions` VALUES (100013, 711); # Command: reset achievements
INSERT INTO `rbac_linked_permissions` VALUES (100013, 712); # Command: reset honor
INSERT INTO `rbac_linked_permissions` VALUES (100013, 713); # Command: reset level
INSERT INTO `rbac_linked_permissions` VALUES (100013, 714); # Command: reset spells
INSERT INTO `rbac_linked_permissions` VALUES (100013, 715); # Command: reset stats
INSERT INTO `rbac_linked_permissions` VALUES (100013, 716); # Command: reset talents
INSERT INTO `rbac_linked_permissions` VALUES (100013, 710); # Command: reset
INSERT INTO `rbac_linked_permissions` VALUES (100013, 488); # Command: additem
INSERT INTO `rbac_linked_permissions` VALUES (100013, 489); # Command: additemset
INSERT INTO `rbac_linked_permissions` VALUES (100013, 231); # Command: achievement add
INSERT INTO `rbac_linked_permissions` VALUES (100013, 602); # Command: quest
INSERT INTO `rbac_linked_permissions` VALUES (100013, 603); # Command: quest add
INSERT INTO `rbac_linked_permissions` VALUES (100013, 604); # Command: quest complete
INSERT INTO `rbac_linked_permissions` VALUES (100013, 605); # Command: quest remove
INSERT INTO `rbac_linked_permissions` VALUES (100013, 606); # Command: quest reward
INSERT INTO `rbac_linked_permissions` VALUES (100013, 777); # Command: mailbox
INSERT INTO `rbac_linked_permissions` VALUES (100013, 284); # Command: character rename
INSERT INTO `rbac_linked_permissions` VALUES (100013, 274); # Command: character customize
INSERT INTO `rbac_linked_permissions` VALUES (100013, 275); # Command: character changefaction
INSERT INTO `rbac_linked_permissions` VALUES (100013, 276); # Command: character changerace
INSERT INTO `rbac_linked_permissions` VALUES (100013, 529); # Command: unaura
# [100014] Master Test GM
INSERT INTO `rbac_linked_permissions` VALUES (100014, 100013); # inheriting from Test GM
@@ -0,0 +1 @@
@@ -0,0 +1,2 @@
ALTER TABLE instance ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER data;
ALTER TABLE character_achievement ADD COLUMN levelPg TINYINT(8) UNSIGNED DEFAULT 1 NOT NULL AFTER date;
@@ -0,0 +1,6 @@
DROP TABLE IF EXISTS `character_xp_rate`;
CREATE TABLE `character_xp_rate` (
`guid` int(10) UNSIGNED NOT NULL,
`xp_rate` float UNSIGNED NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player XP Rate System';
@@ -0,0 +1,37 @@
-- --------------------------------------------------------
-- Host: localhost
-- Server version: 5.5.39 - MySQL Community Server (GPL)
-- Server OS: Win32
-- HeidiSQL Version: 9.1.0.4894
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Dumping structure for table tc_c.custom_transmogrification
CREATE TABLE IF NOT EXISTS `custom_transmogrification` (
`GUID` int(10) unsigned NOT NULL COMMENT 'Item guidLow',
`FakeEntry` int(10) unsigned NOT NULL COMMENT 'Item entry',
`Owner` int(10) unsigned NOT NULL COMMENT 'Player guidLow',
PRIMARY KEY (`GUID`),
KEY `Owner` (`Owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='6_2';
-- Data exporting was unselected.
-- Dumping structure for table tc_c.custom_transmogrification_sets
CREATE TABLE IF NOT EXISTS `custom_transmogrification_sets` (
`Owner` int(10) unsigned NOT NULL COMMENT 'Player guidlow',
`PresetID` tinyint(3) unsigned NOT NULL COMMENT 'Preset identifier',
`SetName` text COMMENT 'SetName',
`SetData` text COMMENT 'Slot1 Entry1 Slot2 Entry2',
PRIMARY KEY (`Owner`,`PresetID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='6_1';
-- Data exporting was unselected.
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
@@ -0,0 +1,13 @@
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE IF NOT EXISTS `mail_external` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`receiver` int(10) unsigned NOT NULL,
`subject` varchar(200) DEFAULT 'Support Message',
`message` varchar(400) DEFAULT NULL,
`money` int(10) unsigned NOT NULL DEFAULT '0',
`item` int(10) unsigned NOT NULL DEFAULT '0',
`item_count` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=61578 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -0,0 +1 @@
@@ -0,0 +1,4 @@
-- spawned transmorg npc in dalaran
DELETE FROM creature WHERE id = 190010;
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 (NULL, 190010, 571, 1, 1, 0, 0, 5805.05, 658.984, 648.01, 4.79024, 300, 0, 0, 12600, 0, 0, 0, 0, 0)
@@ -0,0 +1,8 @@
/*
-- Query: select * from spell_script_names where scriptname like 'spell_dru_cyclone_check'
LIMIT 0, 1000
-- Date: 2016-04-13 21:28
*/
DELETE FROM `spell_script_names` where `ScriptName` = 'spell_dru_cyclone_check';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (33786,'spell_dru_cyclone_check');
@@ -0,0 +1,81 @@
/**
* Table structure for irc_commands
*/
DROP TABLE IF EXISTS `irc_commands`;
CREATE TABLE `irc_commands` (
`Command` varchar(10) NOT NULL default '',
`Description` varchar(350) default NULL,
`gmlevel` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`Command`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='IRC Module System';
/**
* Records
*/
INSERT INTO `irc_commands` VALUES ('acct', '[acct <Player> <(un)lock/email/pass/rename/gmlevel>] : Perform Action To <Player> Account.', '3');
INSERT INTO `irc_commands` VALUES ('ban', '[ban <Player/IP> <ip/acct/unban/reason>] : Ban/Unban <Player>', '3');
INSERT INTO `irc_commands` VALUES ('chan', '[chan <op/deop/voice/devoice> <*IRC Nick*>] : Set Mode On Yourself, If <IRC Nick> Is Specified Then Set mode On Nick.', '3');
INSERT INTO `irc_commands` VALUES ('char', '[char <Player> <mailcheat/taxicheat/maxskill/setskill/combatstop/quest/mod>] : Perform Action To Character.', '3');
INSERT INTO `irc_commands` VALUES ('fun', '[fun <Player> <Sound/Say>] : Do Selected Fun Action To <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('help', '[help Command] : Use No Paramaters For List Of Available Commands.', '3');
INSERT INTO `irc_commands` VALUES ('inchan', '[inchan <Channel>] : Display Users In Selected In Game <Channel>', '3');
INSERT INTO `irc_commands` VALUES ('info', '[info] : Display Server Info. (Number Of Players Online/Max Since Last Restart/Uptime)', '3');
INSERT INTO `irc_commands` VALUES ('item', '[item <Player> <add> <ItemID/[ItemName]> <Amount>] : Additem To <Player>, Use <ItemID> Or <[Exact Item Name]>.', '3');
INSERT INTO `irc_commands` VALUES ('jail', '[jail <Player> <release/Reason>] : Jail Selected <Player> For <Reason>. Using release As <Reason> Releases Player.', '3');
INSERT INTO `irc_commands` VALUES ('kick', '[kick <Player> <Reason>] : Kick <Player> For <Reason>.', '3');
INSERT INTO `irc_commands` VALUES ('kill', '[kill <Player> <Reason>] : Kill <Player> For <Reason>.', '3');
INSERT INTO `irc_commands` VALUES ('level', '[level <Player> <NewLevel>] : Level <Player> To <NewLevel>. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('login', '[login <UserName> <Password>] : Login To TriniChat Admin Mode. (Must Be Done In A PM)', '3');
INSERT INTO `irc_commands` VALUES ('logout', '[logout] : Logout Of TriniChat Admin Mode.', '3');
INSERT INTO `irc_commands` VALUES ('lookup', '[lookup <acct/char/creature/faction/go/item/quest/skill/spell/tele> <ID/Name>] : ', '3');
INSERT INTO `irc_commands` VALUES ('money', '[money <Player> <(-)Money>] : Give Money To <Player>, Use - To Take Money. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('mute', '[mute <Player> <release/TimeInMins> <Reason>] : Mute Player For Reason, For <TimeInMins>. Using release As Time Releases Player. *Can Be Done Offline*', '3');
INSERT INTO `irc_commands` VALUES ('online', '[online] : Display All Users Logged In Game.', '3');
INSERT INTO `irc_commands` VALUES ('pm', '[pm <Player> <Message>] : Whisper <Player> In WoW <Message>.', '3');
INSERT INTO `irc_commands` VALUES ('reload', '[reload] : Reload TriniChat Config Options And Security Level From DataBase.', '3');
INSERT INTO `irc_commands` VALUES ('restart', '[restart] : Restart TriniChat, NOT Trinity Core World Server Itself. Forces Reconnection To IRC Server.', '3');
INSERT INTO `irc_commands` VALUES ('revive', '[revive <Player>] : Revive <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('saveall', '[saveall] : Forces Trinity Core To Save All Players.', '3');
INSERT INTO `irc_commands` VALUES ('server', '[server setmotd [<motd>]/flusharenapoints]', '3');
INSERT INTO `irc_commands` VALUES ('shutdown', '[shutdown <TimeInSeconds>] : Shuts The Server Down In <TimeInSeconds>, Use 0 For Immediate Shut Down', '3');
INSERT INTO `irc_commands` VALUES ('spell', '[spell <Player> <Cast/Learn/UnLearn> <SpellID>] : Make <Player> <Learn> Or <UnLearn> A Spell, Or <Cast> A Spell On A <Player>.', '3');
INSERT INTO `irc_commands` VALUES ('sysmsg', '[sysmsg <a/n/e/add/del/list> <Message>] : Broadcasts A System Message. (a-Broadcast System Message)(n-Broadcast Notify Message)(e-Event Message)', '3');
INSERT INTO `irc_commands` VALUES ('tele', '[tele <Player> <l/c/r/to/cr/go/homebind> <Loc.Name/MAPID X Y Z/Recall/Player/Creature GUID/Gameobject GUID>] : Teleport Player To Location, Coords, Recall Location, Another Player, Creature or Gameobject. (l-Location)(c-Coords)', '3');
INSERT INTO `irc_commands` VALUES ('top', '[top <accttime/chartime/money> <limit>] : Display top stats for given option. Only GM Higher Than Config Option Can Use Limit.', '3');
INSERT INTO `irc_commands` VALUES ('who', '[who] : Displays Users Currently Logged In To TriniChat.', '1');
/**
* Table structure for irc_inchan
*/
/** DROP TABLE IF EXISTS `irc_inchan`; */
CREATE TABLE IF NOT EXISTS `irc_inchan` (
`guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
`name` varchar(12) NOT NULL default '',
`channel` varchar(15) NOT NULL default '',
PRIMARY KEY (`guid`,`channel`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='IRC Module System';
/**
* Records
*/
/**
* Table structure for irc_autoannounce
*/
DROP TABLE IF EXISTS `irc_autoannounce`;
CREATE TABLE `irc_autoannounce` (
`id` int(11) NOT NULL auto_increment,
`message` longtext NOT NULL,
`addedby` varchar(12) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='IRC Module System';
/**
* Records
*/
INSERT INTO `irc_autoannounce` VALUES ('1', 'Welcome to IRC Channel', '');
DELETE FROM `trinity_string` WHERE entry IN (6610,6611,6612);
INSERT INTO `trinity_string` VALUES ('6610', '|cffff0000[System Message]: %s|r', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('6611', '|cffff0000[Server Event]: %s|r', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('6612', '|cffff0000[Automatic]: %s|r', null, null, null, null, null, null, null, null);
@@ -0,0 +1,20 @@
DELETE FROM `creature_template` where `entry` = 190000;
INSERT INTO `creature_template` (`entry`,`modelid1`,`name`,`subname`,`minlevel`,`maxlevel`,`faction`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`unit_class`,`unit_flags`,`type`,`InhabitType`,`HoverHeight`,`ScriptName`)
VALUES (190000,21322,'Shadow of Sceicco','Arena watcher' ,1,1,35, 1,1,1.14286,0.1,1,128,7,3,1,'npc_arena_watcher');
DELETE FROM `trinity_string` WHERE `entry` IN (11200,11201,11202,11203,11204);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11200,'Watch the match 2x2 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11201,'Watch the match 3x3 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11202,'Watch the match 5x5 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11203,'Watch the match 1x1 (now games: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `trinity_string` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`) VALUES (11204,'Follow player',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
DELETE FROM `command` WHERE `permission` = 1004;
INSERT INTO `command` (`name`, `permission`, `help`) VALUES ('spect', 1004, 'Syntax: .spect leave/count');
@@ -0,0 +1,97 @@
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_myrmidon' WHERE `entry`=4295;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_defender' WHERE `entry`=4298;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_centurion' WHERE `entry`=4301;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_sorcerer' WHERE `entry`=4294;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_wizard' WHERE `entry`=4300;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_abbot' WHERE `entry`=4303;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_monk' WHERE `entry`=4540;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_champion' WHERE `entry`=4302;
UPDATE `creature_template` SET `AIName`='', `ScriptName`='npc_scarlet_chaplain' WHERE `entry`=4299;
DELETE FROM `smart_scripts` WHERE `entryorguid`IN (4301, 4295, 4298, 4300, 4540, 4302, 4299, 4294, 4303);
-- one
DELETE FROM `creature_text` WHERE `entry`=4298;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4298, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4298, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- two
DELETE FROM `creature_text` WHERE `entry`=4295;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4295, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4295, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, ''),
(4295, 1, 0, 'There is no escape for you. The Crusade shall destroy all who carry the scourge\'s taint.', 12, 7, 0, 0, 0, 0, 'Scarlet Myrmidon - Talk on low HP');
-- three
DELETE FROM `creature_text` WHERE `entry`=4301;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4301, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4301, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- four
DELETE FROM `creature_text` WHERE `entry`=4294;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4294, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4294, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- five
DELETE FROM `creature_text` WHERE `entry`=4300;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4300, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4300, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- six
DELETE FROM `creature_text` WHERE `entry`=4303;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4303, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4303, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- seven
DELETE FROM `creature_text` WHERE `entry`=4540;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4540, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4540, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- eight
DELETE FROM `creature_text` WHERE `entry`=4302;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4302, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4302, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
-- ninetails
DELETE FROM `creature_text` WHERE `entry`=4299;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
(4299, 0, 0, 'Have you come to save the world? To cleanse it?', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 1, 'And it begins...', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 2, 'Ashbringer...', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 3, 'Kneel! Kneel before the Ashbringer!', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 4, 'My Lord, please allow me to live long enough to see you purge this world of the infidles.', 12, 0, 100, 0, 0, 0, ''),
(4299, 0, 5, 'Take me with you, Sir.', 12, 0, 100, 0, 0, 0, '');
@@ -0,0 +1,9 @@
-- Max Skill
DELETE FROM command WHERE name = 'azth maxskill';
INSERT INTO command VALUES('azth maxskill', 1002, 'Max all skill of targeted player');
DELETE FROM trinity_string WHERE entry = 90001;
INSERT INTO trinity_string(entry, content_default) VALUES(90001, 'The target level must be level %u');
-- xp rate
DELETE FROM command WHERE name = 'azth xp';
INSERT INTO command VALUES('azth xp', 1003, 'Set a custom xp rate');
@@ -0,0 +1,44 @@
-- low-level PvP vendor spawns
SET @GUID := 900012;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+5;
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+0, 13217, 0, 0, 0, 1, 1, 0, 1, -8767.85, 418.382, 103.921, 3.64665, 300, 0, 0, 57420, 0, 0, 0, 0, 0, 0),
(@GUID+1, 15127, 0, 0, 0, 1, 1, 0, 1, -8765.48, 415.266, 103.921, 3.81863, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0),
(@GUID+2, 14753, 0, 0, 0, 1, 1, 0, 1, -8770.48, 421.691, 103.921, 3.89481, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0),
(@GUID+3, 13219, 1, 0, 0, 1, 1, 0, 1, 1646.77, -4219.27, 56.3828, 0.80658, 300, 0, 0, 57420, 0, 0, 0, 0, 0, 0),
(@GUID+4, 15126, 1, 0, 0, 1, 1, 0, 1, 1648.93, -4221.42, 56.3785, 1.00293, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0),
(@GUID+5, 14754, 1, 0, 0, 1, 1, 0, 1, 1651.95, -4222.54, 56.3789, 1.26211, 300, 0, 0, 52280, 0, 0, 0, 0, 0, 0);
-- Global auctioneer
SET @GUID := 900030;
DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID+5;
INSERT INTO `creature` VALUES
(@GUID+0, 8661, 0, 0, 0, 1, 1, 0, 1, -8806.9, 673.122, 96.5989, 4.68813, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0),
(@GUID+1, 8661, 571, 0, 0, 1, 1, 0, 1, 5913.91, 621.969, 646.49, 1.31721, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0),
(@GUID+2, 8661, 571, 0, 0, 1, 1, 0, 1, 5698.51, 679.243, 645.816, 4.41722, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0),
(@GUID+3, 8661, 1, 0, 0, 1, 1, 0, 1, 1662.5, -4450.23, 19.5189, 0.434289, 300, 0, 0, 6645, 0, 0, 0, 0, 0, 0);
-- custom vendors
SET @GUID := 900040;
REPLACE 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 (@GUID+0, 1000001, 571, 1, 1, 0, 0, 5977.19, 669.417, 641.667, 3.10476, 300, 0, 0, 12600, 0, 0, 0, 0, 0);
REPLACE 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 (@GUID+1, 1000002, 571, 1, 1, 0, 0, 5977.07, 672.188, 641.785, 3.24928, 300, 0, 0, 12600, 0, 0, 0, 0, 0);
-- arena NPCs
SET @GUID := 900100;
-- arena 1v1
REPLACE 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 (@GUID+0, 1000000, 571, 1, 1, 0, 0, 5762.94, 602.368, 609.887, 0.365307, 300, 0, 0, 39099, 0, 0, 0, 0, 0);
-- arena spectator ( Shadow of Sceicco )
REPLACE 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 (@GUID+1, 190000, 571, 1, 1, 0, 0, 5758.1, 615.383, 609.158, 5.73193, 300, 0, 0, 42, 0, 0, 0, 0, 0);
--
-- various npc
--
SET @GUID := 901000;
-- dummy npc dalaran
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 (@GUID+0, 31146, 571, 1, 1, 0, 0, 5838.72, 693.416, 609.158, 4.1539, 300, 0, 0, 24009944, 0, 0, 0, 0, 0);
-- dummy npc dalaran
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 (@GUID+1, 31146, 571, 1, 1, 0, 0, 5791.83, 656.546, 609.159, 5.31815, 300, 0, 0, 24009944, 0, 0, 0, 0, 0)
@@ -0,0 +1,25 @@
SET
@entry := 1000001,
@modelid := 28156,
@name := 'Currency Supplier',
@subname := 'AzerothShard Supplies',
@rank := 4,
@unitflags1 := 131078, -- UNIT_FLAG_PACIFIED + UNIT_FLAG_DISABLE_MOVE + UNIT_FLAG_NON_ATTACKABLE
@faction := 1774;
DELETE FROM creature_template WHERE entry = @entry;
INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, HealthModifier, ManaModifier, ArmorModifier, DamageModifier, ExperienceModifier, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES
(@entry, '0', '0', '0', '0', '0', @modelid, '0', '0', '0', @name, @subname, '', '0', '80', '80', '2', @faction, '128', '1', '1.14286', '1', @rank, '0', '2000', '2000', '1', '1', '1', @unitflags1, '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0', '0', '', '12340');
SET
@entry := 1000002,
@modelid := 28156,
@name := 'Transmogrification Items',
@subname := 'AzerothShard Supplies',
@rank := 4,
@unitflags1 := 131078, -- UNIT_FLAG_PACIFIED + UNIT_FLAG_DISABLE_MOVE + UNIT_FLAG_NON_ATTACKABLE
@faction := 1774;
DELETE FROM creature_template WHERE entry = @entry;
INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, HealthModifier, ManaModifier, ArmorModifier, DamageModifier, ExperienceModifier, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES
(@entry, '0', '0', '0', '0', '0', @modelid, '0', '0', '0', @name, @subname, '', '0', '80', '80', '2', @faction, '128', '1', '1.14286', '1', @rank, '0', '2000', '2000', '1', '1', '1', @unitflags1, '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '1', '1', '1', '1', '1', '1', '0', '0', '1', '0', '0', '', '12340');
@@ -0,0 +1,35 @@
SET
@entry := 1000001;
delete from npc_vendor where entry = @entry and item = 47241;
INSERT INTO npc_vendor (entry, slot, item, maxcount, incrtime, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 47241, '0', '0', '2425', '0');
SET
@entry := 1000002;
DELETE FROM npc_vendor WHERE entry = @entry and item in (34649, 34651, 34656, 34648, 34650, 34659, 34655, 34652);
-- Hand
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34649, 2707, 12340);
-- Waist
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34651, 2707, 12340);
-- Legs
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34656, 2707, 12340);
-- Feet
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34648, 2707, 12340);
-- Chest
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34650, 2707, 12340);
-- Back
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34659, 2707, 12340);
-- Shoulder
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34655, 2707, 12340);
-- Head
INSERT INTO npc_vendor (entry, slot, item, ExtendedCost, VerifiedBuild)
VALUES (@entry, 0, 34652, 2707, 12340);
@@ -0,0 +1,73 @@
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|0x10000000 WHERE `entry` IN (36619, 38233, 38459, 38460, 38711, 38970, 38971, 38972, 38712, 38973, 38974, 38975);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29315, 31507);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (34780, 35216, 35268, 35269);
UPDATE `creature_template` SET `mechanic_immune_mask`=618381307 WHERE `entry` in (29305, 30530);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~67108864 WHERE entry in (36897, 38138, 36899, 38123);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask` &~1024 WHERE entry in (36897, 38138, 36899, 38123);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28859, 31734);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15956,29249);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15953,29268);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15952,29278);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15954,29615);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15936,29701);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16011,29718);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16061,29940);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16060,29955);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16064,30603,16065,30601,30549,30600,16063,30602);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (16028, 29324);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15931, 29373);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15932, 29417);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15928, 29448);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15989, 29991);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (15990, 30061);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (31125, 31722);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33993, 33994);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35013, 35360);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (38433, 38462);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (28860, 31311);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30452, 31534);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30451, 31520);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (30449, 31535);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (10184, 36538);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39863, 39864, 39944, 39945);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39751, 39920);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39746, 39805);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (39747, 39823);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34796, 35438, 35439, 35440);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (35144, 35511, 35512, 35513);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34799, 35514, 35515, 35516);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34797, 35447, 35448, 35449);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34780, 35216, 35268, 35269);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34497, 35350, 35351, 35352);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34496, 35347, 35348, 35349);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (34564, 34566, 35615, 35616);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33118, 33190);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33186, 33724);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33293, 33885);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32867, 33693);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32927, 33692);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32857, 33694);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32930, 33909);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32933, 33910);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32934, 33911);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33515, 34175);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32906, 33360);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32845, 32846);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32865, 33147);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33271, 33449);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (33288, 33955);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (32871, 33070);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36612, 37957, 37958, 37959);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37813, 38402, 38582, 38583);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36626, 37504, 37505, 37506);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36627,38390,38549,38550);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36678,38431,38585,38586);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37970,38401,38784,38785);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37972,38399,38769,38770);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37973,38400,38771,38772);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (37955,38434,38435,38436);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267);
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (36853,38265,38266,38267);
UPDATE `creature_template` SET `mechanic_immune_mask`=902512507 WHERE entry IN (29309, 31456, 29308, 31469, 29310, 31465, 29311, 31464, 28684, 31612, 28921, 31611, 29120, 31610, 26630, 31362, 26631, 31350, 27483, 31349, 26632, 31360, 29315, 31507, 29314, 31512, 29316, 31510, 29312, 31509, 29266, 31511, 29313, 31508, 31134, 31506, 29307, 31365, 29304, 31370, 29306, 31368, 28586, 31533, 28587, 31536, 28546, 31537, 28587, 31536, 27975, 31384, 27977, 31381, 27978, 31386, 26529, 31211, 26530, 31212, 26532, 31215, 26533, 31217, 27654, 31558, 27447, 31559, 27655, 31560, 26687, 30774, 26693, 30807, 26861, 30788, 29932, 30258, 31463, 35572, 36089, 35569, 36085, 35571, 36090, 35570, 36091, 35617, 36084, 34703, 36087, 34657, 36086, 34701, 36083, 34702, 36082, 34705, 36088, 35119, 35518, 34928, 35517, 35451, 35490, 29305, 30530, 37126, 38258, 36897, 38138, 36899, 38123, 38494, 38490, 37562, 38602, 38760, 38761, 37697, 38604, 38758, 38759, 37534, 38219, 37533, 38220);
@@ -0,0 +1,88 @@
-- ------------------------------------------------------------------------------------
-- SKADI THE RUTHLESS - ENABLE Achievement GIRL LOVE TO SKADI and grauf - complete boss rework
-- ------------------------------------------------------------------------------------
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=26893;
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=30775;
UPDATE `creature_template` SET `ScriptName`='npc_grauf' WHERE `entry`=26893;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=23472;
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=19871;
DELETE FROM `conditions` where `SourceTypeOrReferenceId` = 13 AND `SourceGroup` = 1 AND `SourceEntry` IN (47593,47594,47563,51368);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47593, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47594, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 47563, 31, 3, 28351);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51368, 31, 3, 26893);
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (47563,47593);
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47563, 47574, 0, 'Freezin Trap - Left');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (47593, 47594, 0, 'Freezin Trap - Right');
DELETE FROM `spell_script_names` WHERE `spell_id` IN ( 47574,47594,50255,59331);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47574, 'spell_freezing_cloud_area_left');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47594, 'spell_freezing_cloud_area_right');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (50255, 'spell_skadi_poisoned_spear');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (59331, 'spell_skadi_poisoned_spear');
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=28351;
DELETE FROM smart_scripts where entryorguid = 28351 and source_type = 0 and id IN (0,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 (28351, 0, 0, 0, 8, 0, 100, 0, 47594, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE');
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (28351, 0, 1, 0, 8, 0, 100, 0, 47574, 0, 0, 0, 11, 47579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Flame Breath Trigger - Cast Freezing Trap AoE');
DELETE FROM creature_text where entry IN (26893,23472,19871) and groupid = 0 and id = 0;
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES (26893, 0, 0, '%s takes a deep breath!', 41, 0, 100, 0, 0, 0, 'Grauf - Emote', 20774);
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES (23472, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote', 27809);
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES (19871, 0, 0, 'Skadi the Ruthless is within range of the harpoon launchers!', 41, 0, 100, 0, 0, 0, 'Skadi Emote', 27809);
DELETE FROM smart_scripts where entryorguid IN ( -126150, -126127) and event_type = 38;
INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126150, 38, 1, 1, 'Skadi Trigger - Emote');
INSERT INTO `smart_scripts` (`entryorguid`, `event_type`, `action_type`, `target_type`, `comment`) VALUES (-126127, 38, 1, 1, 'Skadi Trigger - Emote');
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN ( 49089,49084,49091,50255,50258,50228,47579);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49089, 49089, 59246);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49084, 49084, 59246);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (49091, 49091, 59249);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50228, 50228, 59322);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50255, 50255, 59331);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50258, 50258, 59334);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (47579, 47579, 60020 );
UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=1 AND `link`=0;
UPDATE `smart_scripts` SET `target_type`=17, `target_param1`=5, `target_param2`=30 WHERE `entryorguid`=26692 AND `source_type`=0 AND `id`=0 AND `link`=0;
DELETE FROM `disables` WHERE `sourceType`=4 AND `entry`=7595;
DELETE FROM achievement_criteria_data WHERE criteria_id = 7595;
INSERT INTO `achievement_criteria_data` (`criteria_id`, `type`, `ScriptName`) VALUES (7595, 11, 'achievement_girl_love_to_skadi');
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192175;
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192176;
UPDATE `gameobject_template` SET `data10`=0 WHERE `entry`=192177;
DELETE FROM spell_target_position where id = 61790;
INSERT INTO `spell_target_position` (`id`, `effectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES (61790, 0, 575, 342.887, -507.782, 104.471, 3.13678, 12340);
-- ------------------------------------------------------------------------------------
-- OCULUS - INSTANCE REWORK
-- ------------------------------------------------------------------------------------
DELETE FROM conditions WHERE SourceTypeOrReferenceId = 13 AND SourceGroup = 1 AND SourceEntry IN (50036,51518,50087) AND ConditionValue2 = 27641;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50036, 31, 3, 27641);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 51518, 31, 3, 27641);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`) VALUES (13, 1, 50087, 31, 3, 27641);
DELETE FROM spelldifficulty_dbc where id = 50044 AND spellid0 = 50044 and spellid1 = 59213;
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES (50044, 50044, 59213);
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=27641;
DELETE from smart_scripts where entryorguid = 27641 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 (27641, 0, 1, 0, 1, 0, 100, 1, 0, 0, 0, 0, 11, 50044, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Centrifuge Core - Out of Combat - Cast Empowering Blows');
DELETE FROM spell_script_names where spell_id IN (51121,51132,59376);
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51121,'spell_urom_time_bomb');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (51132,'spell_urom_time_bomb_detonation');
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (59376,'spell_urom_time_bomb');
UPDATE `gameobject_template` SET `ScriptName`='go_call_tram' , faction='35'
WHERE `entry` IN (194437 ,194914 ,194912 ,194937);
@@ -0,0 +1,72 @@
-- Rogue: Master Poisoner
DELETE FROM `spell_dbc` WHERE `Id` IN ('45176');
INSERT INTO `spell_dbc` (`Id`, `Dispel`, `Mechanic`, `Attributes`, `AttributesEx`, `AttributesEx2`, `AttributesEx3`, `AttributesEx4`, `AttributesEx5`, `Stances`, `StancesNot`, `Targets`, `CastingTimeIndex`, `AuraInterruptFlags`, `ProcFlags`, `ProcChance`, `ProcCharges`, `MaxLevel`, `BaseLevel`, `SpellLevel`, `DurationIndex`, `RangeIndex`, `StackAmount`, `EquippedItemClass`, `EquippedItemSubClassMask`, `EquippedItemInventoryTypeMask`, `Effect1`, `Effect2`, `Effect3`, `EffectDieSides1`, `EffectDieSides2`, `EffectDieSides3`, `EffectRealPointsPerLevel1`, `EffectRealPointsPerLevel2`, `EffectRealPointsPerLevel3`, `EffectBasePoints1`, `EffectBasePoints2`, `EffectBasePoints3`, `EffectMechanic1`, `EffectMechanic2`, `EffectMechanic3`, `EffectImplicitTargetA1`, `EffectImplicitTargetA2`, `EffectImplicitTargetA3`, `EffectImplicitTargetB1`, `EffectImplicitTargetB2`, `EffectImplicitTargetB3`, `EffectRadiusIndex1`, `EffectRadiusIndex2`, `EffectRadiusIndex3`, `EffectApplyAuraName1`, `EffectApplyAuraName2`, `EffectApplyAuraName3`, `EffectAmplitude1`, `EffectAmplitude2`, `EffectAmplitude3`, `EffectMultipleValue1`, `EffectMultipleValue2`, `EffectMultipleValue3`, `EffectMiscValue1`, `EffectMiscValue2`, `EffectMiscValue3`, `EffectMiscValueB1`, `EffectMiscValueB2`, `EffectMiscValueB3`, `EffectTriggerSpell1`, `EffectTriggerSpell2`, `EffectTriggerSpell3`, `EffectSpellClassMaskA1`, `EffectSpellClassMaskA2`, `EffectSpellClassMaskA3`, `EffectSpellClassMaskB1`, `EffectSpellClassMaskB2`, `EffectSpellClassMaskB3`, `EffectSpellClassMaskC1`, `EffectSpellClassMaskC2`, `EffectSpellClassMaskC3`, `MaxTargetLevel`, `SpellFamilyName`, `SpellFamilyFlags1`, `SpellFamilyFlags2`, `SpellFamilyFlags3`, `MaxAffectedTargets`, `DmgClass`, `PreventionType`, `DmgMultiplier1`, `DmgMultiplier2`, `DmgMultiplier3`, `AreaGroupId`, `SchoolMask`, `Comment`) VALUES
('45176','0','0','0','0','0','0','0','0','0','0','0','1','0','0','0','0','1','1','1','0','1','0','-1','0','0','3','0','0','0','0','0','0','0','0','0','0','0','0','0','0','6','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','8','0','0','0','0','0','0','0','0','0','0','1','Master Poisoner Trigger (SERVERSIDE)');
DELETE FROM `spell_proc_event` WHERE `entry` IN ('31226', '31227', '58410');
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
('31226','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 1)
('31227','0','8','0','524288','0','0','0','0','0','0'), -- Master Poisoner (Rank 2)
('58410','0','8','0','524288','0','0','0','0','0','0'); -- Master Poisoner (Rank 3)
-- Shaman: Tidal Force
DELETE FROM `spell_script_names` where `spell_id` = 55198;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (55198,'spell_sha_tidal_force');
DELETE FROM `spell_proc_event` where `entry` = 55198;
DELETE FROM `spell_proc_event` where `entry` = 55166;
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55166,1,11,448,0,0,16384,2,0,0,0);
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES (55198,0,11,448,0,0,16384,2,0,0,0);
-- Rogue: Shadowmeld
DELETE FROM `spell_script_names` where `spell_id` = 58984;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (58984,'spell_shadowmeld');
DELETE FROM `spell_linked_spell` WHERE `spell_effect` = 32747;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (853, 32747, 0, 'Hammer of Justice - Interrupt - Rank 1 ');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5588, 32747, 0, 'Hammer of Justice - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5589, 32747, 0, 'Hammer of Justice - Interrupt - Rank 3');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (10308, 32747, 0, 'Hammer of Justice - Interrupt - Rank 4');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (22570, 32747, 0, 'Maim - Interrupt - Rank 1');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (49802, 32747, 0, 'Maim - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (5211, 32747, 0, 'Bash - Interrupt - Rank 1');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (6798, 32747, 0, 'Bash - Interrupt - Rank 2');
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES (8983, 32747, 0, 'Bash - Interrupt - Rank 3');
DELETE FROM `spell_script_names` where `spell_id` = 32747;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (32747,'spell_gen_interrupt');
-- DANCING RUNE WEAPON
DELETE FROM spell_proc_event where entry = 49028;
DELETE FROM creature_template where entry = 27893;
INSERT INTO `creature_template` (`entry`,`difficulty_entry_1`,`difficulty_entry_2`,`difficulty_entry_3`,`KillCredit1`,`KillCredit2`,`modelid1`,`modelid2`,`modelid3`,`modelid4`,`name`,`subname`,`IconName`,`gossip_menu_id`,`minlevel`,`maxlevel`,`exp`,`faction`,`npcflag`,`speed_walk`,`speed_run`,`scale`,`rank`,`dmgschool`,`BaseAttackTime`,`RangeAttackTime`,`BaseVariance`,`RangeVariance`,`unit_class`,`unit_flags`,`unit_flags2`,`dynamicflags`,`family`,`trainer_type`,`trainer_spell`,`trainer_class`,`trainer_race`,`type`,`type_flags`,`lootid`,`pickpocketloot`,`skinloot`,`resistance1`,`resistance2`,`resistance3`,`resistance4`,`resistance5`,`resistance6`,`spell1`,`spell2`,`spell3`,`spell4`,`spell5`,`spell6`,`spell7`,`spell8`,`PetSpellDataId`,`VehicleId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`InhabitType`,`HoverHeight`,`HealthModifier`,`ManaModifier`,`ArmorModifier`,`DamageModifier`,`ExperienceModifier`,`RacialLeader`,`movementId`,`RegenHealth`,`mechanic_immune_mask`,`flags_extra`,`ScriptName`,`VerifiedBuild`) VALUES (27893,0,0,0,0,0,11686,0,0,0,'Rune Weapon','','',0,1,1,0,14,0,1,1.14286,1,0,0,3500,2000,1,1,1,0,2048,0,0,0,0,0,0,10,1096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,1,1,1,1,1,1,0,0,1,0,0,'npc_pet_dk_rune_weapon',12340);
DELETE FROM spell_linked_spell where spell_trigger = 49028;
INSERT INTO `spell_linked_spell` (`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES (49028,81256,0,'Dancing Rune Weapon parry application');
-- Glyph of succubus
DELETE FROM `spell_script_names` where `spell_id` = 6358;
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES (6358,'spell_warl_seduction');
-- Fix wrong application of fiery payback rank 1 always even if rank2 learned
DELETE FROM `spell_ranks` WHERE `first_spell_id`=44440;
-- Blood queen lanathel autocast of frenzy
DELETE FROM spell_linked_spell WHERE spell_trigger = 70923;
DELETE FROM spell_script_names where spell_id = 70923;
INSERT INTO spell_script_names values (70923,'spell_blood_queen_uncontrollable_frenzy');
-- Shadow Crash, general Vezax
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=63277;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES ('63277', '65269', '2', 'Shadow Crash');
-- Animal Handler
DELETE FROM `spell_ranks` WHERE `first_spell_id`=34453;
INSERT INTO `spell_ranks` (`first_spell_id`, `spell_id`, `rank`) VALUES
(34453, 34453, 1),
(34453, 34454, 2);
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_gen_paralytic_poison';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(35201, 'spell_gen_paralytic_poison');
@@ -0,0 +1,11 @@
-- RUBY SANCTUM
-- Charscale Invoker SAI
SET @ENTRY := 40417;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`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,10,2000,6000,8000,12000,11,75412,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"),
(@ENTRY,0,1,0,0,0,100,20,2000,6000,8000,12000,11,75419,0,0,0,0,0,2,0,0,0,0,0,0,0,"Charscale Invoker - In Combat - Cast Scorch"),
(@ENTRY,0,2,0,9,0,100,0,0,10,9000,14000,11,75413,0,0,0,0,0,1,0,0,0,0,0,0,0,"Charscale Invoker - Within Range 0-10yd - Cast Flame Wave");
@@ -0,0 +1,2 @@
-- scarab lord title
REPLACE INTO `achievement_reward` (`entry`, `title_A`, `title_H`) VALUES ('416', '46', '46');
@@ -0,0 +1,18 @@
/*
SQLyog Community v12.2.1 (64 bit)
MySQL - 5.6.23-log
*********************************************************************
*/
DELETE FROM `creature_template` WHERE `entry` IN (39863,39864,39944,39945,40142,40143,40144,40145);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `DamageModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) values
-- Halion
('39863','39864','39944','39945','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39863','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','35','1','0','150','1','650854271','1','boss_halion','12340'),
('39864','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39864','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','35','1','0','150','1','650854271','1','','12340'),
('39944','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39944','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','50','1','0','150','1','650854271','1','','12340'),
('39945','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','32832','2048','0','0','0','0','0','0','2','108','39945','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','85','1','0','150','1','650854271','1','','12340'),
-- Twilight Halion
('40142','40143','40144','40145','0','0','31952','0','0','0','Halion','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1500','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','800','1','1','35','1','0','150','1','650854271','0','boss_twilight_halion','12340'),
('40143','0','0','0','0','0','31952','0','0','0','Halion (1)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','2900','1','1','35','1','0','150','1','650854271','0','','12340'),
('40144','0','0','0','0','0','31952','0','0','0','Halion (2)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','1100','1','1','50','1','0','150','1','650854271','0','','12340'),
('40145','0','0','0','0','0','31952','0','0','0','Halion (3)','The Twilight Destroyer','','0','83','83','2','14','0','1.6','1.42857','1','1','0','1800','2000','1','1','1','559168','2048','0','0','0','0','0','0','2','1132','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','','0','3','1','4200','1','1','85','1','0','150','1','650854271','0','','12340');
@@ -0,0 +1,38 @@
-- 1 = Alterac Valley
-- 2 = Warsong Gulch
-- 3 = Arathi Basin
-- 7 = Eye of The Storm
-- 4 = Nagrand Arena
-- 5 = Blades's Edge Arena
-- 6 = All Arena
-- 8 = Ruins of Lordaeron
-- 9 = Strand of the Ancients
-- 10 = Dalaran Sewers
-- 11 = The Ring of Valor
-- 30 = Isle of Conquest
-- 32 = Random battleground
-- MinPlayersPerTeam
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 2; -- Warsong Gulch
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 3; -- Arathi Basin
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 2 WHERE `ID` = 7; -- Eye of The Storm
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 5 WHERE `ID` = 9; -- Strand of the Ancients
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 10 WHERE `ID` = 1; -- Alterac Valley
UPDATE `battleground_template` SET `MinPlayersPerTeam` = 3 WHERE `ID` = 32; -- RBG
-- MaxPlayersPerTeam
UPDATE `battleground_template` SET `MaxPlayersPerTeam`=15 WHERE `ID`=32;
-- Weights
UPDATE `battleground_template` SET `Weight` = 1 WHERE `ID` = 1; -- Alterac Valley
UPDATE `battleground_template` SET `Weight` = 2 WHERE `ID` = 30; -- Isle of Conquest
UPDATE `battleground_template` SET `Weight` = 3 WHERE `ID` = 2; -- Warsong Gulch
UPDATE `battleground_template` SET `Weight` = 0 WHERE `ID` = 9; -- Strand of the Ancients
UPDATE `battleground_template` SET `Weight` = 3 WHERE `ID` IN (3, 7); -- Arathi Basin, Eye of The Storm
-- Allow 'Dalaran Sewers' and 'The Ring of Valor' for 2v2 and 3v3 too
UPDATE `battleground_template` SET `MinPlayersPerTeam`=0 WHERE `ID`=10;
UPDATE `battleground_template` SET `MinPlayersPerTeam`=0 WHERE `ID`=11;
-- Enable 'Dalaran Sewers'
DELETE FROM `disables` WHERE `sourceType`=3 AND `entry`=10;
@@ -0,0 +1,5 @@
-- Strand of The Ancients demolisher fix
UPDATE `creature_template` SET `mechanic_immune_mask` = 344407930 WHERE `entry` IN (28781, 32796);
-- Auctioneer Beardo friendly and immune
UPDATE `creature_template` SET `unit_flags` = 898, `faction` = 1774 WHERE `entry` = 8661;
@@ -0,0 +1,7 @@
# fix for TOC and mmaps
REPLACE INTO disables VALUES (7, 650, 0, '', '', 'Mmaps - Trial of the Champion');
REPLACE INTO disables VALUES (7, 649, 0, '', '', 'Mmaps - Trial of the Crusader');
-- disabled sota
-- DELETE FROM disables WHERE sourceType = 3 AND disables.entry = 9;
-- INSERT INTO disables (sourceType, entry, flags, params_0, params_1, comment) VALUES (3, 9, 0, '', '', 'Strand of the Ancients (SOTA) - Battleground');
@@ -0,0 +1,36 @@
-- Immunity mask for val'kyr
UPDATE `creature_template` SET `mechanic_immune_mask` =
1 -- MECHANIC_CHARM
+ 2 -- MECHANIC_DISORIENTED
+ 8 -- MECHANIC_DISTRACT
+ 16 -- MECHANIC_FEAR
+ 32 -- MECHANIC_GRIP
+ 64 -- MECHANIC_ROOT
+ 128 -- MECHANIC_PACIFY
+ 256 -- MECHANIC_SILENCE
+ 512 -- MECHANIC_SLEEP
-- 1024 -- MECHANIC_SNARE
-- 2048 -- MECHANIC_STUN
-- 4096 -- MECHANIC_FREEZE
+ 8192 -- MECHANIC_KNOCKOUT
+ 16384 -- MECHANIC_BLEED
+ 32768 -- MECHANIC_BANDAGE
+ 65536 -- MECHANIC_POLYMORPH
+ 131072 -- MECHANIC_BANISH
-- 262144 -- MECHANIC_SHIELD
+ 524288 -- MECHANIC_SHACKLE
+ 1048576 -- MECHANIC_MOUNT
-- 2097152 -- MECHANIC_INFECTED
+ 4194304 -- MECHANIC_TURN
+ 8388608 -- MECHANIC_HORROR
-- 16777216 -- MECHANIC_INVULNERABILITY
+ 33554432 -- MECHANIC_INTERRUPT
-- 67108864 -- MECHANIC_DAZE
-- 134217728 -- MECHANIC_DISCOVERY
-- 268435456 -- MECHANIC_IMMUNE_SHIELD
+ 536870912 -- MECHANIC_SAPPED
-- 1073741824 -- MECHANIC_ENRAGED
where `entry` IN (36609,39120,39121,39122);
-- Adding diminishing
UPDATE `creature_template` SET `flags_extra`='1048576' WHERE `entry` IN (36609,39120,39121,39122);
@@ -0,0 +1,3 @@
-- Emerald Dream game_tele
DELETE FROM game_tele WHERE id = 1601;
INSERT INTO game_tele (id, position_x, position_y, position_z, orientation, map, name) VALUES ('1601', '-366.091', '3097.86', '92.317', '0.0487625', '169', 'EmeraldDream');
@@ -0,0 +1,14 @@
-- Dalaran portals
DELETE FROM `gameobject` WHERE `guid` BETWEEN 200000 AND 200008;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(200000, 202079, 1, 0, 0, 1, 1, -964.555, 292.733, 109.7, 4.43777, 0, 0, 0.797239, -0.603663, 300, 0, 1, 0),
(200001, 202079, 1, 0, 0, 1, 1, 9655.71, 2506.69, 1331.59, 1.90512, 0, 0, 0.814902, 0.579599, 300, 0, 1, 0),
(200002, 202079, 530, 0, 0, 1, 1, -1887.49, 5359.28, -12.4277, 1.21883, 0, 0, 0.572386, 0.819984, 300, 0, 1, 0),
(200003, 202079, 0, 0, 0, 1, 1, -8987.01, 847.909, 29.621, 2.22167, 0, 0, 0.89607, 0.443913, 300, 0, 1, 0),
(200004, 202079, 0, 0, 0, 1, 1, 1775.51, 58.62, -46.3214, 2.52786, 0, 0, 0.953285, 0.302073, 300, 0, 1, 0),
(200005, 202079, 530, 0, 0, 1, 1, -4047.07, -11568.6, -138.481, 6.13938, 0, 0, 0.0718431, -0.997416, 300, 0, 1, 0),
(200006, 202079, 0, 0, 0, 1, 1, -4623.88, -906.916, 501.07, 5.76448, 0, 0, 0.256457, -0.966556, 300, 0, 1, 0),
(200007, 202079, 530, 0, 0, 1, 1, 9991.31, -7092.76, 47.7047, 5.07985, 0, 0, 0.566019, -0.824392, 300, 0, 1, 0),
(200008, 202079, 1, 0, 0, 1, 1, 1467.17, -4226.68, 59.221, 1.14415, 0, 0, 0.541378, 0.840779, 300, 0, 1, 0),
(200121, 202079, 1, 0, 0, 1, 1, -7219.52, -3795.9, -1.12415, 4.01808, 0, 0, 0.905497, -0.424352, 300, 0, 1, 0);
@@ -0,0 +1,3 @@
-- Emerald Dream instance_template
DELETE FROM instance_template WHERE map = 169;
INSERT INTO instance_template (map, parent, script, allowMount) VALUES ('169', '0', 'emerald_dream', '0');
@@ -0,0 +1,18 @@
-- fix https://github.com/TrinityCore/TrinityCore/issues/14845#issuecomment-180266980
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-7381 AND type=0;
INSERT INTO spell_linked_spell VALUES (-23397,-7381,0,'Berserk Nefarian - On Remove - Remove Berserker Stance passiv');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29763 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29763,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 5');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29762 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29762,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 4');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29761 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29761,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 3');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29760 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29760,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 2');
DELETE FROM spell_linked_spell WHERE spell_trigger = -23397 AND spell_effect=-29759 AND type=0;
INSERT INTO spell_linked_spell VALUES
(-23397,-29759,0,'Berserk Nefarian - On Remove - Remove Improved Berserker Stance Rank 1');
@@ -0,0 +1,5 @@
/* Insert npc for Arena rating 1v1*/
DELETE FROM creature_template WHERE (entry = 1000000);
INSERT INTO creature_template (entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, modelid4, name, subname, IconName, gossip_menu_id, minlevel, maxlevel, exp, faction, npcflag, speed_walk, speed_run, scale, rank, dmgschool, BaseAttackTime, RangeAttackTime, BaseVariance, RangeVariance, unit_class, unit_flags, unit_flags2, dynamicflags, family, trainer_type, trainer_spell, trainer_class, trainer_race, type, type_flags, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8, PetSpellDataId, VehicleId, mingold, maxgold, AIName, MovementType, InhabitType, HoverHeight, HealthModifier, ManaModifier, ArmorModifier, DamageModifier, ExperienceModifier, RacialLeader, movementId, RegenHealth, mechanic_immune_mask, flags_extra, ScriptName, VerifiedBuild) VALUES
(1000000, 0, 0, 0, 0, 0, 18290, 0, 0, 0, 'Zaxle Moneyhallow', 'Arena Organizer', 'Speak', 50001, 81, 81, 2, 35, 3, 1.1, 1.14286, 1.1, 2, 0, 2000, 2000, 1, 1, 1, 2, 2048, 0, 0, 0, 0, 0, 0, 7, 124, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200000, 300000, '', 1, 3, 1, 3, 3, 3, 1, 1, 0, 0, 1, 138936390, 0, 'npc_1v1arena', 12340);
@@ -0,0 +1,11 @@
-- hackfix for https://github.com/TrinityCore/TrinityCore/issues/16059
UPDATE `creature_template` SET `mechanic_immune_mask` = 650854271 WHERE `entry` IN (
37697, -- 10N Volatile Ooze
38604, -- 10H Volatile Ooze
38758, -- 25N Volatize Ooze
38759, -- 25H Volatile Ooze
37562, -- 10N Gas Cloud
38602, -- 10H Gas Cloud
38760, -- 25N Gas Cloud
38761 -- 25H Gas Cloud
);
@@ -0,0 +1,257 @@
SET @WEAPON_VENDOR = 90000;
SET @BASIC_VENDOR = 90001;
DELETE FROM `creature_template` WHERE `entry` IN (@WEAPON_VENDOR, @BASIC_VENDOR);
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (@WEAPON_VENDOR, @BASIC_VENDOR);
DELETE FROM `creature` WHERE `id` IN (@WEAPON_VENDOR, @BASIC_VENDOR);
DELETE FROM `npc_vendor` WHERE `entry` IN (@WEAPON_VENDOR, @BASIC_VENDOR);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `DamageModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(@WEAPON_VENDOR, 0, 0, 0, 0, 0, 19654, 0, 0, 0, 'Linus', 'AzerothShard Weapons Vendor', NULL, 0, 80, 80, 1, 35, 128, 1, 1.14286, 1, 0, 0, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 1, 5, 3, 1, 1, 1, 0, 0, 1, 0, 2, '', 12340),
(@BASIC_VENDOR, 0, 0, 0, 0, 0, 19654, 0, 0, 0, 'Richard', 'AzerothShard Basic-PvP Vendor', NULL, '', 80, 80, 1, 35, 128, 1, 1.14286, 1, 0, 0, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 1, 5, 3, 1, 1, 1, 0, 0, 1, 0, 2, '', 12340);
INSERT INTO `creature_equip_template` VALUES
(@WEAPON_VENDOR, 1, 42334, 0, 0, 0),
(@BASIC_VENDOR, 1, 44420, 0, 0, 0);
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
(900000, 90000, 571, 0, 0, 1, 1, 0, 1, 5768.09, 595.418, 609.886, 0.923717, 300, 0, 0, 46075, 0, 0, 0, 0, 0, 0),
(900001, 90001, 571, 0, 0, 1, 1, 0, 1, 5764.62, 599.473, 609.886, 0.606416, 300, 0, 0, 46075, 0, 0, 0, 0, 0, 0);
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
-- Relentless Weapons
(@WEAPON_VENDOR, 0, 42210, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42229, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42234, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42244, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42250, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42257, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42262, 0, 0, 2958, 0),
(@WEAPON_VENDOR, 0, 42267, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42272, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42277, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42282, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42287, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42292, 0, 0, 2968, 0),
(@WEAPON_VENDOR, 0, 42319, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42324, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42329, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42334, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42348, 0, 0, 2958, 0),
(@WEAPON_VENDOR, 0, 42354, 0, 0, 2958, 0),
(@WEAPON_VENDOR, 0, 42366, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42386, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42392, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42483, 0, 0, 2967, 0),
(@WEAPON_VENDOR, 0, 42487, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42492, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42498, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 42504, 0, 0, 2967, 0),
(@WEAPON_VENDOR, 0, 42515, 0, 0, 2967, 0),
(@WEAPON_VENDOR, 0, 42521, 0, 0, 2967, 0),
(@WEAPON_VENDOR, 1, 42527, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42533, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42539, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42561, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42566, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42572, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42580, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42585, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42591, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42599, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42604, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42609, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42616, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42622, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 1, 42854, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 0, 44423, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 44424, 0, 0, 2959, 0),
(@WEAPON_VENDOR, 0, 49185, 0, 0, 2967, 0),
(@WEAPON_VENDOR, 1, 49187, 0, 0, 2969, 0),
(@WEAPON_VENDOR, 0, 49189, 0, 0, 2958, 0),
-- Deadly
(@BASIC_VENDOR, 0, 40784, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40785, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40786, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40804, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40805, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40806, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40823, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40824, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40825, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40844, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40845, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40846, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40862, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40863, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40864, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40879, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40880, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40888, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40905, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40926, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40932, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40938, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40962, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40974, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40975, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40982, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40990, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 40991, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41000, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41006, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41012, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41018, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41026, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41032, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41037, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41043, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41048, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41054, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41059, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41064, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41069, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41074, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41080, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41086, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41136, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41142, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41150, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41156, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41198, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41204, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41210, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41216, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41224, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41229, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41234, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41274, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41280, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41286, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41292, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41297, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41303, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41309, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41315, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41320, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41326, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41616, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41620, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41624, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41629, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41634, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41639, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41649, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41654, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41660, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41666, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41671, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41677, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41682, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41714, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41766, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41772, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41831, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41835, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41839, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41853, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41858, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41863, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41868, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41873, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41880, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41884, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41892, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41897, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41902, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41908, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41914, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41920, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41926, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41933, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41939, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41945, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41951, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41958, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41964, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41970, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41992, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 41997, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42004, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42010, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42016, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42027, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42028, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42029, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42030, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42031, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42032, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42033, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42062, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42063, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42064, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42065, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42066, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42067, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42068, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42114, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42115, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42208, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42227, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42232, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42237, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42242, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42248, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42255, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42260, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42265, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42270, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42275, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42280, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42285, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42290, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42317, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42322, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42327, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42332, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42346, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42352, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42362, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42384, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42390, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42450, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42485, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42490, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42495, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42502, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42513, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42519, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42525, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42531, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42537, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42559, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42564, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42570, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42578, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42583, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42588, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42597, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42602, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42607, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42614, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42620, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 42852, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 44419, 0, 0, 0, 0),
(@BASIC_VENDOR, 0, 44420, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42122, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42123, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42128, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42129, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42130, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42131, 0, 0, 0, 0),
(@BASIC_VENDOR, 1, 42132, 0, 0, 0, 0);
-- Set price to Deadly Weapons
UPDATE `item_template` SET `BuyPrice` = 1000000 WHERE `name` LIKE 'Deadly Gladiator%' AND `itemlevel` = 213;
UPDATE `item_template` SET `BuyPrice` = 1000000 WHERE `entry` IN (42122, 42123, 42128, 42129, 42130, 42131, 42132);
@@ -0,0 +1,45 @@
--
-- CREATE STRUCTURE
--
DROP TABLE IF EXISTS `quest_bugged`;
CREATE TABLE `quest_bugged` (
`ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
`bugged` BOOLEAN NOT NULL DEFAULT '1',
PRIMARY KEY (`ID`)
);
--
-- ADD DATA
--
DELETE FROM `command` WHERE `permission` = 1000;
INSERT INTO `command` (`name`, `permission`, `help`) VALUES ('qc', 1000, 'Syntax: .qc [Quest]');
DELETE FROM `quest_bugged`;
INSERT INTO `quest_bugged` (SELECT `ID`, 0 FROM `quest_template`);
-- initial bugged quest list
UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (1090, 2078, 2904, 3367, 3982, 4121, 5713, 5821, 5943, 5944, 6086, 7046, 7622, 7636, 8945, 8961, 9015, 9729, 10218, 10248, 10273, 10309, 10310, 10422, 10425, 10438, 10439, 10495, 10566, 10612, 10613, 10711, 10712, 10714, 10716, 10720, 10821, 10884, 10886, 10909, 10930, 10935, 10965, 10974, 10976, 10977, 10988, 11035, 11064, 11067, 11068, 11069, 11070, 11071, 11073, 11097, 11101, 11122, 11310, 11318, 11343, 11409, 11412, 11418, 11421, 11436, 11516, 11520, 11521, 11527, 11533, 11542, 11543, 11657, 11731, 11921, 11922, 11923, 11924, 11925, 11926, 11969, 12414, 12432, 12437, 12519, 12568, 12674, 12801, 12886, 12987, 13003, 13007, 13069, 13086, 13142, 13264, 13276, 13284, 13288, 13289, 13301, 13314, 13343, 13373, 13374, 13376, 13380, 13381, 13382, 13404, 13406, 24535, 24553, 24563, 24564, 24594, 24595, 24596, 24598, 25212, 25461, 25470);
-- Hallow's End Event
UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (
-- Fire Brigade Practice
11440,
11439,
11360,
-- Stop the Fires!
11131,
11219,
-- Let the Fires Come!
12135,
12139,
-- Quest Fire Training
11361,
11449,
11450
);
-- Scouring the Desert
UPDATE `quest_bugged` SET `bugged` = 1 WHERE `ID` IN (9422, 9419);
@@ -0,0 +1,2 @@
DELETE FROM `trinity_string` WHERE `entry` = 90000;
INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES (90000, '|cffff0000[BG Queue Announcer]:|r |cff00ccff[%d-%d]|r %s is ready to start |cff00FF3C%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -0,0 +1,20 @@
DELETE FROM disables where sourceType = 2 AND entry = 650; -- Enable Trial of the champions instance
-- FULL `creature_template` of entry 36558
DELETE FROM `creature_template` WHERE (entry = 36558);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `DamageModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(36558, 0, 0, 0, 0, 0, 29283, 0, 0, 0, 'Argent Battleworg', '', 'vehichleCursor', 0, 80, 80, 2, 35, 16777216, 1, 1.57143, 1, 0, 0, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68505, 62575, 68282, 62552, 0, 0, 0, 0, 0, 486, 0, 0, '', 0, 3, 1, 3.96825, 1, 1, 1, 1, 0, 157, 1, 0, 0, '', 12340);
-- FULL `creature_template` of entry 35644
DELETE FROM `creature_template` WHERE (entry = 35644);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `DamageModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(35644, 0, 0, 0, 0, 0, 28918, 0, 0, 0, 'Argent Warhorse', '', 'vehichleCursor', 0, 80, 80, 2, 35, 16777216, 1, 1.57143, 1, 0, 0, 2000, 2000, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68505, 62575, 68282, 66482, 0, 0, 0, 0, 0, 486, 0, 0, '', 0, 3, 1, 3.96825, 1, 1, 1, 1, 0, 157, 1, 0, 0, '', 12340);
-- EQUIP ARGENT LANCE TO RIDE VEHICLE
DELETE from conditions where SourceTypeOrReferenceId = 16 and SourceEntry = 35644;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (16, 0, 35644, 0, 0, 3, 0, 46106, 0, 0, 0, 0, 0, '', 'Argent Lance must be equipped in order to mount a vehicle');
DELETE from conditions where SourceTypeOrReferenceId = 16 and SourceEntry = 36558;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (16, 0, 36558, 0, 0, 3, 0, 46106, 0, 0, 0, 0, 0, '', 'Argent Lance must be equipped in order to mount a vehicle');
-- MINOR CHAMPIONS
UPDATE creature_template SET AIName = '', ScriptName = '' WHERE entry in (35326,35325,35327,35314,35323,35330,35331,35332,35328,35329);
-- ARGENT CHAMPIONS FACTION
UPDATE creature_template SET faction = 14 WHERE entry in (35119, 35518, 34928, 35517);
@@ -0,0 +1,833 @@
/*
* Thorim
*/
DELETE FROM `creature_text` WHERE `entry` IN (32865,32872,32873,33196);
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES
-- Thorim
(32865, 0,0,'Interlopers! You mortals who dare to interfere with my sport will pay... Wait--you...',14,0,100,0,0,15733,33145,'Thorim SAY_AGGRO_1'),
(32865, 1,0,'I remember you... In the mountains... But you... what is this? Where am--',14,0,100,0,0,15734,33270,'Thorim SAY_AGGRO_2'),
(32865, 2,0,'Behold the power of the storms and despair!',14,0,100,0,0,15735,0,'Thorim SAY_SPECIAL_1'),
(32865, 3,0,'Do not hold back! Destroy them!',14,0,100,0,0,15736,34241,'Thorim SAY_SPECIAL_2'),
(32865, 4,0,'Have you begun to regret your intrusion?',14,0,100,0,0,15737,0,'Thorim SAY_SPECIAL_3'),
(32865, 5,0,'Impertinent whelps, you dare challenge me atop my pedestal? I will crush you myself!',14,0,100,0,0,15738,33148,'Thorim SAY_JUMPDOWN'),
(32865, 6,0,'Can''t you at least put up a fight!?',14,0,100,0,0,15739,34239,'Thorim SAY_SLAY_1'),
(32865, 6,1,'Pathetic.',14,0,100,0,0,15740,35768,'Thorim SAY_SLAY_2'),
(32865, 7,0,'My patience has reached its limit!',14,0,100,0,0,15741,33365,'Thorim SAY_BERSERK'),
(32865, 8,0,'Failures! Weaklings!',14,0,100,0,0,15742,33274,'Thorim SAY_WIPE'),
(32865, 9,0,'Stay your arms! I yield!',14,0,100,0,0,15743,33948,'Thorim SAY_DEATH'),
(32865,10,0,'I feel as though I am awakening from a nightmare, but the shadows in this place yet linger.',14,0,100,0,0,15744,33949,'Thorim SAY_END_NORMAL_1'),
(32865,11,0,'Sif... was Sif here? Impossible--she died by my brother''s hand. A dark nightmare indeed....',14,0,100,0,0,15745,33950,'Thorim SAY_END_NORMAL_2'),
(32865,12,0,'I need time to reflect.... I will aid your cause if you should require it. I owe you at least that much. Farewell.',14,0,100,0,0,15746,33951,'Thorim SAY_END_NORMAL_3'),
(32865,13,0,'You! Fiend! You are not my beloved! Be gone!',14,0,100,0,0,15747,33952,'Thorim SAY_END_HARD_1'),
(32865,14,0,'Behold the hand behind all the evil that has befallen Ulduar, left my kingdom in ruins, corrupted my brother, and slain my wife.',14,0,100,0,0,15748,33953,'Thorim SAY_END_HARD_2'),
(32865,15,0,'And now it falls to you, champions, to avenge us all. The task before you is great, but I will lend you my aid as I am able. You must prevail.',14,0,100,0,0,15749,33954,'Thorim SAY_END_HARD_3'),
-- Runic Colossus
(32872, 0,0,'%s surrounds itself with a crackling Runic Barrier!',41,0,100,0,0,0,33267,'Runic Colossus'),
-- Ancient Rune Giant
(32873, 0,0,'%s fortifies nearby allies with runic might!',41,0,100,0,0,0,33523,'Ancient Rune Giant'),
-- Sif
(33196, 0,0,'Thorim, my lord! Why else would these invaders have come into your sanctum but to slay you? They must be stopped!',14,0,100,0,0,15668,33325,'Sif - Start'),
(33196, 1,0,'These pathetic mortals are harmless, beneath my station. Dispose of them!',14,0,100,0,0,15669,33368,'Sif - Despawn'),
(33196, 2,0,'Impossible! Lord Thorim, I will bring your foes a frigid death!',14,0,100,0,0,15670,33369,'Sif - Event');
-- Lever SAI
SET @ENTRY := 194264;
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,9,0,0,0,0,0,0,14,34155,0,0,0,0,0,0,'Lever - On Gameobject State Changed - Activate Gameobject'),
(@ENTRY,1,1,0,70,0,100,0,1,0,0,0,106,16,0,0,0,0,0,1,0,0,0,0,0,0,0,'Lever - On Gameobject State Changed - Remove Gameobject Flag Not Selectable');
-- Lever SAI Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@ENTRY AND `SourceId`=1;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,2,@ENTRY,1,0,13,1,8,1,2,0,0,'','Execute SAI only if Thorim Encounter is in progress');
-- Thorim Trap Bunny SAI
SET @ENTRY := 33054;
UPDATE `creature_template` SET `AIName`='SmartAI', `flags_extra`=2 WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`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,12,17000,17000,11,62241,0,0,0,0,0,1,0,0,0,0,0,0,0,'Thorim Trap Bunny - Within 0-12 Range Out of Combat LoS - Cast Paralytic Field');
SET @ENTRY := 33725;
UPDATE `creature_template` SET `AIName`='SmartAI', `flags_extra`=2 WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`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,12,17000,17000,11,63540,0,0,0,0,0,1,0,0,0,0,0,0,0,'Thorim Trap Bunny - Within 0-12 Range Out of Combat LoS - Cast Paralytic Field');
DELETE FROM `spell_script_names` WHERE `spell_id` IN (62577,62603,62576,62602,62580,62604,62016,62057,62058,62042,62184,62466,64767,64909,62184,62331,62418,61934);
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(62577,'spell_thorim_blizzard'),
(62603,'spell_thorim_blizzard'),
(62576,'spell_thorim_blizzard_effect'),
(62602,'spell_thorim_blizzard_effect'),
(62580,'spell_thorim_frostbolt_volley'),
(62604,'spell_thorim_frostbolt_volley'),
(62016,'spell_thorim_charge_orb'),
(62057,'spell_thorim_runic_smash'),
(62058,'spell_thorim_runic_smash'),
(62042,'spell_thorim_stormhammer'),
(62466,'spell_thorim_lightning_charge'),
(64767,'spell_thorim_stormhammer_sif'),
(64909,'spell_thorim_stormhammer_boomerang'),
(62184,'spell_thorim_activate_lightning_orb_periodic'),
(62331,'spell_iron_ring_guard_impale'),
(62418,'spell_iron_ring_guard_impale'),
(61934,'spell_thorim_arena_leap');
DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=62042;
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = -62320;
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
(-62320, -62398, 0, 'Aura of Celerity - Remove Visual');
-- Add dummy effect to kill credit so it actually selects targets
UPDATE `spell_dbc` SET `EffectImplicitTargetA1`=18, `EffectImplicitTargetB1`=16, `EffectRadiusIndex1`=28, `SchoolMask`=0, `Effect1`=3 WHERE `Id`=64980;
-- Correct attributes (SPELL_ATTR0_HIDE_IN_COMBAT_LOG, SPELL_ATTR2_CAN_TARGET_DEAD, SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS)
UPDATE `spell_dbc` SET `Attributes`=`Attributes`|256, `AttributesEx2`=`AttributesEx2`|1|4 WHERE `Id` IN (64980,64985);
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN (62131,62315,62316,62333,62334,62335,62327,62328,62321,62331,62332,62613,62583,62577,62597,62580);
INSERT INTO `spelldifficulty_dbc` (`id`, `spellid0`, `spellid1`) VALUES
(62131,62131,64390), -- Chain Lightning
(62315,62315,62415), -- Acid Breath
(62316,62316,62417), -- Sweep
(62333,62333,62441), -- Renew
(62334,62334,62442), -- Greater Heal
(62335,62335,62443), -- Holy Smite
(62327,62327,62445), -- Runic Lightning
(62328,62328,62446), -- Runic Mending
(62321,62321,62529), -- Runic Shield
(62331,62331,62418), -- Impale
(62332,62332,62420), -- Shield Smash
(62613,62613,62614), -- Charge
(62583,62583,62601), -- Frostbolt
(62577,62577,62603), -- Blizzard
(62597,62597,62605), -- Frost Nova
(62580,62580,62604); -- Frostbolt Volley
UPDATE `creature_template` SET `ScriptName`='boss_thorim' WHERE `entry`=32865;
UPDATE `creature_template` SET `ScriptName`='npc_sif' WHERE `entry`=33196;
UPDATE `creature_template` SET `ScriptName`='npc_thorim_pre_phase' WHERE `entry` IN (32885,32883,32908,32907,32882,32886);
UPDATE `creature_template` SET `ScriptName`='npc_thorim_arena_phase' WHERE `entry` IN (32876,32904,32878,32877,32874,32875,33110);
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x40000000, `ScriptName`='npc_runic_colossus' WHERE `entry`=32872;
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x40000000, `ScriptName`='npc_ancient_rune_giant' WHERE `entry`=32873;
UPDATE `creature_template` SET `difficulty_entry_1`=33150 WHERE `entry`=32908; -- Swapped Difficulty entry npcs
UPDATE `creature_template` SET `difficulty_entry_1`=33151 WHERE `entry`=32907; -- Caused swapped displayIDs in 25n
UPDATE `creature_template` SET `InhabitType`=4, `flags_extra`=128, `ScriptName`='' WHERE `entry` IN (33140,33141);
UPDATE `creature_template` SET `InhabitType`=4, `flags_extra`=128 WHERE `entry` IN (33378,32879);
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (32892);
UPDATE `creature_template` SET `faction`=1692 WHERE `entry` IN (32885,32883,33152,33153,32908,33150,32907,33151);
UPDATE `creature_template` SET `faction`=1693 WHERE `entry` IN (32882,33154);
UPDATE `creature_template` SET `speed_walk`=2.5/2.5, `speed_run`=14.0/7.0, `BaseAttackTime`=1500, `RangeAttackTime`=1500 WHERE `entry` IN (32865,33147);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (62577,62603,62016,62976,63238,64098,62466,62565,62942,64767,62560,61964,61934);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,62577,0,0,31,0,3,32892,0,0,0,'','Thorim - Blizzard'),
(13,1,62603,0,0,31,0,3,32892,0,0,0,'','Thorim - Blizzard'),
(13,1,62016,0,0,31,0,3,33378,0,0,0,'','Thorim - Charge Orb'),
(13,1,62976,0,0,31,0,3,33378,0,0,0,'','Thorim - Lightning Pillar'),
(13,1,62976,0,0,33,0,1,0,0,1,0,'','Thorim - Lightning Pillar'),
(13,1,63238,0,0,31,0,3,33378,0,0,0,'','Thorim - Lightning Pillar'),
(13,1,63238,0,0,33,0,1,0,0,1,0,'','Thorim - Lightning Pillar'),
(13,1,64098,0,0,31,0,3,32865,0,0,0,'','Thorim - Lightning Bolt'),
(13,4,62466,0,0,31,0,3,32780,0,0,0,'','Thorim - Lightning Charge'),
(13,3,62565,0,0,31,0,3,32865,0,0,0,'','Thorim - Touch of Dominion'),
(13,7,62942,0,0,31,0,3,32874,0,0,0,'','Thorim - Runic Fortification'),
(13,7,62942,0,1,31,0,3,32875,0,0,0,'','Thorim - Runic Fortification'),
(13,7,62942,0,2,31,0,3,33110,0,0,0,'','Thorim - Runic Fortification'),
(13,1,64767,0,0,31,0,3,33196,0,0,0,'','Thorim - Stormhammer'),
(13,7,62560,0,0,31,0,3,32876,0,0,0,'','Thorim - Berserk'),
(13,7,62560,0,1,31,0,3,32877,0,0,0,'','Thorim - Berserk'),
(13,7,62560,0,2,31,0,3,32878,0,0,0,'','Thorim - Berserk'),
(13,7,62560,0,3,31,0,3,32904,0,0,0,'','Thorim - Berserk'),
(13,1,61964,0,0,31,0,3,32882,0,0,0,'','Thorim - Circle of Healing'),
(13,1,61964,0,1,31,0,3,32883,0,0,0,'','Thorim - Circle of Healing'),
(13,1,61964,0,2,31,0,3,32885,0,0,0,'','Thorim - Circle of Healing'),
(13,1,61964,0,3,31,0,3,32886,0,0,0,'','Thorim - Circle of Healing'),
(13,1,61964,0,4,31,0,3,32907,0,0,0,'','Thorim - Circle of Healing'),
(13,1,61964,0,5,31,0,3,32908,0,0,0,'','Thorim - Circle of Healing'),
(13,1,61934,0,0,31,0,3,32892,0,0,0,'condition_thorim_arena_leap','Thorim - Leap');
DELETE FROM `disables` WHERE `sourceType`=4 AND `entry` IN (10289,10314,10304,10313,10440,10457,10800,10801);
INSERT INTO `disables` (`sourceType`,`entry`,`flags`,`params_0`,`params_1`,`comment`) VALUES
(4,10800,0,0,0,'Siffed (10 player) - Duplicate'),
(4,10801,0,0,0,'Siffed (25 player) - Duplicate');
DELETE FROM `disables` WHERE `sourceType`=0 AND `entry` IN (62042,64767,45537);
INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES
(0, 62042, 64, '', '', 'Stormhammer - Ignore LOS'),
(0, 64767, 64, '', '', 'Stormhammer - Ignore LOS'),
(0, 45537, 64, '', '', 'Lightning Beam Channel - Ignore LOS');
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (10289,10314,10305,10309,10440,10457,10287,10288,10311,10312);
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`) VALUES
(10289,12,0,0,''), -- Siffed (10 player)
(10314,12,1,0,''), -- Siffed (25 player)
(10305,11,0,0,'achievement_dont_stand_in_the_lightning'), -- Don't Stand in the Lightning (10 player)
(10305,12,0,0,''), -- Don't Stand in the Lightning (10 player)
(10309,11,0,0,'achievement_dont_stand_in_the_lightning'), -- Don't Stand in the Lightning (25 player)
(10309,12,1,0,''), -- Don't Stand in the Lightning (25 player)
(10440,11,0,0,'achievement_lose_your_illusion'), -- Lose Your Illusion (10 player)
(10440,12,0,0,''), -- Lose Your Illusion (10 player)
(10457,11,0,0,'achievement_lose_your_illusion'), -- Lose Your Illusion (25 player)
(10457,12,1,0,''), -- Lose Your Illusion (25 player)
(10287,11,0,0,'achievement_i_ll_take_you_all_on'), -- I'll Take You All On (10 player) - Participate in slaying Runic Colossus
(10287,12,0,0,''),
(10288,11,0,0,'achievement_i_ll_take_you_all_on'), -- I'll Take You All On (10 player) - Participate in slaying Ancient Rune Giant
(10288,12,0,0,''),
(10311,11,0,0,'achievement_i_ll_take_you_all_on'), -- I'll Take You All On (25 player) - Participate in slaying Runic Colossus
(10311,12,1,0,''),
(10312,11,0,0,'achievement_i_ll_take_you_all_on'), -- I'll Take You All On (25 player) - Participate in slaying Ancient Rune Giant
(10312,12,1,0,'');
UPDATE `gameobject_template` SET `faction`=94, `flags`=16, `size`=3 WHERE `entry` IN (194312,194313,194314,194315);
DELETE FROM `creature` WHERE `id` IN (32882,32908,32907,32885,32883,32886); -- PreAdds
DELETE FROM `creature` WHERE `id` IN (32874,32875,33110); -- Colossus, Giant Adds
-- Fix Thorim Controller multi spawns
SET @CGUID:=136446;
DELETE FROM `creature` WHERE `id`=32879;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
(@CGUID, 32879, 603, 3, 1, 2134.774, -262.3073, 428.6936, 1.343904, 7200, 0, 0); -- 32879 (Area: 0) (Auras: 62184 - 62184)
UPDATE `gameobject_loot_template` SET `LootMode`=1 WHERE `Entry`=27074;
DELETE FROM `gameobject_loot_template` WHERE `Entry` IN (26955,26956);
INSERT INTO `gameobject_loot_template` (`Entry`,`Item`,`Reference`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) VALUES
(26955,1,34372,100,0,1,0,1,1,'Thorim25 HM - normal mode loot'),
(26955,2,12033,100,0,1,0,1,2,'Thorim25 HM - T8.5 tokens'),
(26955,3,34154,10,0,1,0,1,1,'Thorim25 HM - Random Ulduar craft recipe'),
(26955,45038,0,18,0,1,0,1,1,'Thorim25 HM - Val''anyr fragment'),
(26955,45087,0,10,0,1,0,1,1,'Thorim25 HM - Runed Orb'),
(26955,45470,0,0,0,1,1,1,1,'Thorim25 HM - Wisdom''s Hold'),
(26955,45471,0,0,0,1,1,1,1,'Thorim25 HM - Fate''s Clutch'),
(26955,45472,0,0,0,1,1,1,1,'Thorim25 HM - Warhelm of the Champion'),
(26955,45473,0,0,0,1,1,1,1,'Thorim25 HM - Embrace of the Gladiator'),
(26955,45474,0,0,0,1,1,1,1,'Thorim25 HM - Pauldrons of the Combatant'),
(26955,45570,0,0,0,1,1,1,1,'Thorim25 HM - Skyforge Crossbow'),
(26955,45817,0,100,1,1,0,1,1,'Thorim25 HM - Thorim''s Sigil'),
(26955,47241,0,100,0,1,0,1,1,'Thorim25 HM - Emblem of Triumph'),
(26956,1,34372,100,0,1,0,1,1,'Thorim25 - normal mode loot'),
(26956,2,12033,100,0,1,0,1,2,'Thorim25 - T8.5 tokens'),
(26956,3,34154,10,0,1,0,1,1,'Thorim25 - Random Ulduar craft recipe'),
(26956,45038,0,8,0,1,0,1,1,'Thorim25 - Val''anyr fragment'),
(26956,45087,0,10,0,1,0,1,1,'Thorim25 - Runed Orb'),
(26956,47241,0,100,0,1,0,1,1,'Thorim25 - Emblem of Triumph');
-- Pathing for Thorim Event Bunny Entry: 32892 'TDB FORMAT'
SET @NPC := 136515;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2125.243,`position_y`=-279.0981,`position_z`=419.6088 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,2125.243,-279.0981,419.6088,0,0,0,0,100,0),
(@PATH,2,2124.459,-278.4777,419.6088,0,0,0,0,100,0),
(@PATH,3,2121.098,-276.7148,419.5924,0,0,0,0,100,0),
(@PATH,4,2119.636,-274.0649,419.6156,0,0,0,0,100,0),
(@PATH,5,2119.281,-273.4217,419.6069,0,0,0,0,100,0),
(@PATH,6,2119.281,-273.4217,419.6069,0,0,0,0,100,0),
(@PATH,7,2119.201,-273.4709,419.8398,0,0,0,0,100,0),
(@PATH,8,2117.183,-270.2717,419.8583,0,0,0,0,100,0),
(@PATH,9,2116.297,-266.3632,419.8395,0,0,0,0,100,0),
(@PATH,10,2115.572,-262.8029,419.8535,0,0,0,0,100,0),
(@PATH,11,2116.482,-259.1897,419.8358,0,0,0,0,100,0),
(@PATH,12,2117.141,-255.5589,419.8574,0,0,0,0,100,0),
(@PATH,13,2119.646,-252.5464,419.8413,0,0,0,0,100,0),
(@PATH,14,2121.432,-249.4543,419.856,0,0,0,0,100,0),
(@PATH,15,2148.936,-275.8884,419.5923,0,0,0,0,100,0),
(@PATH,16,2148.425,-276.7478,419.5923,0,0,0,0,100,0),
(@PATH,17,2145.229,-278.5732,419.6016,0,0,0,0,100,0),
(@PATH,18,2143.457,-279.7909,419.6034,0,0,0,0,100,0),
(@PATH,19,2142.105,-280.7194,419.5932,0,0,0,0,100,0),
(@PATH,20,2142.105,-280.7194,419.5932,0,0,0,0,100,0),
(@PATH,21,2142.011,-280.5652,419.8513,0,0,0,0,100,0),
(@PATH,22,2138.426,-281.3995,419.847,0,0,0,0,100,0),
(@PATH,23,2133.584,-281.5215,419.8491,0,0,0,0,100,0),
(@PATH,24,2128.023,-280.9411,419.8441,0,0,0,0,100,0),
(@PATH,25,2126.291,-279.7843,419.8522,0,0,0,0,100,0),
(@PATH,26,2124.448,-278.5219,419.8421,0,0,0,0,100,0),
(@PATH,27,2119.844,-274.1859,419.8577,0,0,0,0,100,0),
(@PATH,28,2117.044,-271.1879,419.5864,0,0,0,0,100,0),
(@PATH,29,2116.893,-270.1994,419.5864,0,0,0,0,100,0),
(@PATH,30,2116.359,-266.7142,419.6042,0,0,0,0,100,0),
(@PATH,31,2115.436,-263.0562,419.5847,0,0,0,0,100,0),
(@PATH,32,2115.436,-263.0562,419.5847,0,0,0,0,100,0),
(@PATH,33,2115.738,-263.056,419.8549,0,0,0,0,100,0),
(@PATH,34,2116.453,-259.2134,419.8405,0,0,0,0,100,0),
(@PATH,35,2117.264,-255.5676,419.8558,0,0,0,0,100,0),
(@PATH,36,2119.386,-252.394,419.8362,0,0,0,0,100,0),
(@PATH,37,2121.52,-249.3625,419.8576,0,0,0,0,100,0),
(@PATH,38,2124.767,-247.3578,419.8445,0,0,0,0,100,0),
(@PATH,39,2127.665,-245.1602,419.8568,0,0,0,0,100,0),
(@PATH,40,2133.444,-244.1765,419.8394,0,0,0,0,100,0),
(@PATH,41,2137.778,-244.1095,419.8524,0,0,0,0,100,0),
(@PATH,42,2138.668,-244.3532,419.8327,0,0,0,0,100,0),
(@PATH,43,2144.954,-246.5349,419.8444,0,0,0,0,100,0),
(@PATH,44,2145.509,-246.9291,419.8271,0,0,0,0,100,0),
(@PATH,45,2150.219,-251.5232,419.8452,0,0,0,0,100,0),
(@PATH,46,2150.759,-252.5189,419.8313,0,0,0,0,100,0),
(@PATH,47,2153.178,-258.4711,419.8497,0,0,0,0,100,0),
(@PATH,48,2153.559,-259.2015,419.8406,0,0,0,0,100,0),
(@PATH,49,2154.27,-263.0537,419.8536,0,0,0,0,100,0),
(@PATH,50,2153.325,-266.6577,419.8428,0,0,0,0,100,0),
(@PATH,51,2151.049,-272.5828,419.8527,0,0,0,0,100,0),
(@PATH,52,2149.115,-275.7233,419.8382,0,0,0,0,100,0),
(@PATH,53,2148.313,-276.8444,419.8498,0,0,0,0,100,0),
(@PATH,54,2143.804,-279.4971,419.8441,0,0,0,0,100,0),
(@PATH,55,2142.145,-280.5514,419.851,0,0,0,0,100,0),
(@PATH,56,2138.615,-281.2572,419.8475,0,0,0,0,100,0),
(@PATH,57,2133.579,-281.4671,419.8491,0,0,0,0,100,0),
(@PATH,58,2127.991,-280.7806,419.8444,0,0,0,0,100,0),
(@PATH,59,2126.258,-279.8424,419.8531,0,0,0,0,100,0),
(@PATH,60,2124.584,-278.5253,419.8409,0,0,0,0,100,0),
(@PATH,61,2119.924,-273.9533,419.8533,0,0,0,0,100,0),
(@PATH,62,2119.188,-273.2435,419.8439,0,0,0,0,100,0),
(@PATH,63,2117.13,-270.3277,419.8538,0,0,0,0,100,0),
(@PATH,64,2116.478,-266.8131,419.8353,0,0,0,0,100,0),
(@PATH,65,2115.687,-262.7664,419.8506,0,0,0,0,100,0),
(@PATH,66,2116.644,-259.1581,419.8392,0,0,0,0,100,0),
(@PATH,67,2117.242,-255.5224,419.857,0,0,0,0,100,0),
(@PATH,68,2119.303,-252.578,419.836,0,0,0,0,100,0),
(@PATH,69,2121.43,-249.237,419.8527,0,0,0,0,100,0),
(@PATH,70,2124.812,-247.4668,419.843,0,0,0,0,100,0),
(@PATH,71,2127.497,-245.053,419.8578,0,0,0,0,100,0),
(@PATH,72,2133.245,-244.2437,419.8391,0,0,0,0,100,0),
(@PATH,73,2137.797,-244.2706,419.8532,0,0,0,0,100,0),
(@PATH,74,2138.713,-244.319,419.832,0,0,0,0,100,0),
(@PATH,75,2144.747,-246.5131,419.8456,0,0,0,0,100,0),
(@PATH,76,2145.541,-246.8831,419.8279,0,0,0,0,100,0),
(@PATH,77,2150.296,-251.4957,419.8431,0,0,0,0,100,0),
(@PATH,78,2150.884,-252.3178,419.8302,0,0,0,0,100,0),
(@PATH,79,2153.282,-258.2831,419.851,0,0,0,0,100,0),
(@PATH,80,2153.452,-259.4514,419.848,0,0,0,0,100,0),
(@PATH,81,2154.205,-263.047,419.8537,0,0,0,0,100,0),
(@PATH,82,2153.389,-266.6479,419.8429,0,0,0,0,100,0),
(@PATH,83,2151.091,-272.5663,419.8539,0,0,0,0,100,0),
(@PATH,84,2149.161,-275.7308,419.8438,0,0,0,0,100,0),
(@PATH,85,2148.448,-276.6167,419.8508,0,0,0,0,100,0),
(@PATH,86,2143.773,-279.6218,419.8434,0,0,0,0,100,0),
(@PATH,87,2142.126,-280.3988,419.8506,0,0,0,0,100,0),
(@PATH,88,2138.407,-281.2673,419.8483,0,0,0,0,100,0),
(@PATH,89,2133.568,-281.4199,419.8492,0,0,0,0,100,0),
(@PATH,90,2127.982,-280.8267,419.8441,0,0,0,0,100,0),
(@PATH,91,2126.25,-279.8724,419.8536,0,0,0,0,100,0),
(@PATH,92,2124.541,-278.5511,419.8425,0,0,0,0,100,0),
(@PATH,93,2119.886,-274.0646,419.8543,0,0,0,0,100,0),
(@PATH,94,2119.3,-273.1973,419.8422,0,0,0,0,100,0),
(@PATH,95,2117.276,-270.2623,419.8552,0,0,0,0,100,0),
(@PATH,96,2116.375,-266.749,419.8367,0,0,0,0,100,0),
(@PATH,97,2115.75,-262.7689,419.8519,0,0,0,0,100,0),
(@PATH,98,2116.569,-259.1516,419.8376,0,0,0,0,100,0),
(@PATH,99,2117.216,-255.5218,419.8585,0,0,0,0,100,0),
(@PATH,100,2119.278,-252.8135,419.8375,0,0,0,0,100,0),
(@PATH,101,2121.553,-249.4769,419.8544,0,0,0,0,100,0),
(@PATH,102,2124.59,-247.3352,419.8415,0,0,0,0,100,0),
(@PATH,103,2127.545,-245.2253,419.8589,0,0,0,0,100,0),
(@PATH,104,2133.296,-244.1633,419.8403,0,0,0,0,100,0),
(@PATH,105,2137.777,-244.1049,419.8532,0,0,0,0,100,0),
(@PATH,106,2138.685,-244.2727,419.831,0,0,0,0,100,0),
(@PATH,107,2144.951,-246.4816,419.8474,0,0,0,0,100,0),
(@PATH,108,2145.794,-247.0487,419.8328,0,0,0,0,100,0),
(@PATH,109,2150.297,-251.5911,419.8445,0,0,0,0,100,0),
(@PATH,110,2150.984,-252.3262,419.8288,0,0,0,0,100,0),
(@PATH,111,2153.123,-258.3005,419.8509,0,0,0,0,100,0),
(@PATH,112,2153.438,-259.4089,419.8459,0,0,0,0,100,0),
(@PATH,113,2154.131,-263.0084,419.8538,0,0,0,0,100,0),
(@PATH,114,2153.459,-266.8626,419.843,0,0,0,0,100,0),
(@PATH,115,2151.159,-272.541,419.8539,0,0,0,0,100,0),
(@PATH,116,2149.097,-275.7526,419.842,0,0,0,0,100,0),
(@PATH,117,2148.337,-276.3833,419.8517,0,0,0,0,100,0),
(@PATH,118,2143.761,-279.4856,419.8428,0,0,0,0,100,0),
(@PATH,119,2142.111,-280.5147,419.8499,0,0,0,0,100,0),
(@PATH,120,2138.428,-281.2258,419.8478,0,0,0,0,100,0),
(@PATH,121,2133.593,-281.3658,419.8492,0,0,0,0,100,0),
(@PATH,122,2127.996,-280.8771,419.8437,0,0,0,0,100,0),
(@PATH,123,2126.267,-279.6706,419.8539,0,0,0,0,100,0),
(@PATH,124,2124.535,-278.1945,419.845,0,0,0,0,100,0),
(@PATH,125,2119.898,-273.9519,419.8556,0,0,0,0,100,0),
(@PATH,126,2119.195,-273.4602,419.8398,0,0,0,0,100,0),
(@PATH,127,2117.185,-270.275,419.8584,0,0,0,0,100,0),
(@PATH,128,2116.277,-266.48,419.8401,0,0,0,0,100,0),
(@PATH,129,2115.793,-262.6867,419.8528,0,0,0,0,100,0),
(@PATH,130,2116.517,-259.0756,419.8365,0,0,0,0,100,0),
(@PATH,131,2117.178,-255.6868,419.8582,0,0,0,0,100,0),
(@PATH,132,2119.701,-252.4812,419.8419,0,0,0,0,100,0),
(@PATH,133,2121.474,-249.3758,419.8554,0,0,0,0,100,0),
(@PATH,134,2124.433,-247.4187,419.8404,0,0,0,0,100,0),
(@PATH,135,2127.646,-245.0555,419.8579,0,0,0,0,100,0),
(@PATH,136,2133.29,-244.1068,419.843,0,0,0,0,100,0),
(@PATH,137,2137.865,-244.1559,419.8533,0,0,0,0,100,0),
(@PATH,138,2138.759,-244.2434,419.8304,0,0,0,0,100,0),
(@PATH,139,2144.779,-246.4528,419.8467,0,0,0,0,100,0),
(@PATH,140,2145.638,-247.1757,419.8317,0,0,0,0,100,0),
(@PATH,141,2150.382,-251.4891,419.8455,0,0,0,0,100,0),
(@PATH,142,2150.875,-252.3997,419.8278,0,0,0,0,100,0),
(@PATH,143,2153.16,-258.3419,419.8453,0,0,0,0,100,0),
(@PATH,144,2153.428,-259.4464,419.8444,0,0,0,0,100,0),
(@PATH,145,2154.08,-263.0534,419.8539,0,0,0,0,100,0),
(@PATH,146,2153.441,-266.6586,419.8431,0,0,0,0,100,0),
(@PATH,147,2151.196,-272.5828,419.8486,0,0,0,0,100,0),
(@PATH,148,2148.977,-275.8442,419.8408,0,0,0,0,100,0),
(@PATH,149,2148.448,-276.4466,419.8525,0,0,0,0,100,0),
(@PATH,150,2143.614,-279.568,419.8431,0,0,0,0,100,0),
(@PATH,151,2142.028,-280.4757,419.8516,0,0,0,0,100,0),
(@PATH,152,2138.401,-281.1916,419.8474,0,0,0,0,100,0),
(@PATH,153,2133.549,-281.3252,419.8492,0,0,0,0,100,0),
(@PATH,154,2127.953,-280.8879,419.8436,0,0,0,0,100,0),
(@PATH,155,2126.466,-279.7439,419.8516,0,0,0,0,100,0),
(@PATH,156,2124.445,-278.3216,419.8439,0,0,0,0,100,0),
(@PATH,157,2119.823,-274.0442,419.8564,0,0,0,0,100,0),
(@PATH,158,2119.312,-273.3621,419.839,0,0,0,0,100,0),
(@PATH,159,2117.144,-270.2156,419.8493,0,0,0,0,100,0),
(@PATH,160,2116.328,-266.5646,419.8384,0,0,0,0,100,0),
(@PATH,161,2115.624,-262.7576,419.8546,0,0,0,0,100,0),
(@PATH,162,2116.453,-259.3849,419.8352,0,0,0,0,100,0),
(@PATH,163,2117.072,-255.2674,419.8524,0,0,0,0,100,0),
(@PATH,164,2119.489,-252.4803,419.8397,0,0,0,0,100,0),
(@PATH,165,2121.312,-249.4293,419.8575,0,0,0,0,100,0),
(@PATH,166,2124.44,-247.3879,419.84,0,0,0,0,100,0),
(@PATH,167,2127.565,-245.0684,419.8545,0,0,0,0,100,0),
(@PATH,168,2133.214,-244.1336,419.8416,0,0,0,0,100,0),
(@PATH,169,2137.796,-244.2558,419.8534,0,0,0,0,100,0),
(@PATH,170,2138.446,-244.26,419.8321,0,0,0,0,100,0),
(@PATH,171,2144.962,-246.338,419.8414,0,0,0,0,100,0),
(@PATH,172,2145.646,-247.2348,419.8299,0,0,0,0,100,0),
(@PATH,173,2150.369,-251.5755,419.847,0,0,0,0,100,0),
(@PATH,174,2150.63,-252.2078,419.8286,0,0,0,0,100,0),
(@PATH,175,2153.212,-258.3366,419.8471,0,0,0,0,100,0),
(@PATH,176,2153.413,-259.379,419.8421,0,0,0,0,100,0),
(@PATH,177,2154.277,-262.9967,419.8528,0,0,0,0,100,0),
(@PATH,178,2153.226,-266.8127,419.8427,0,0,0,0,100,0),
(@PATH,179,2150.993,-272.7447,419.8504,0,0,0,0,100,0),
(@PATH,180,2149.186,-275.8379,419.8387,0,0,0,0,100,0),
(@PATH,181,2148.391,-276.4119,419.8525,0,0,0,0,100,0),
(@PATH,182,2143.661,-279.4714,419.8453,0,0,0,0,100,0),
(@PATH,183,2142.04,-280.5457,419.8513,0,0,0,0,100,0),
(@PATH,184,2138.463,-281.3939,419.8469,0,0,0,0,100,0),
(@PATH,185,2133.62,-281.5162,419.8491,0,0,0,0,100,0),
(@PATH,186,2128.036,-280.9435,419.8441,0,0,0,0,100,0),
(@PATH,187,2126.306,-279.7862,419.8523,0,0,0,0,100,0),
(@PATH,188,2124.479,-278.5462,419.8419,0,0,0,0,100,0),
(@PATH,189,2119.893,-273.9675,419.8577,0,0,0,0,100,0),
(@PATH,190,2119.236,-273.1274,419.8472,0,0,0,0,100,0),
(@PATH,191,2117.124,-270.2551,419.8514,0,0,0,0,100,0),
(@PATH,192,2116.383,-266.4245,419.8366,0,0,0,0,100,0),
(@PATH,193,2115.708,-263.11,419.856,0,0,0,0,100,0),
(@PATH,194,2116.507,-259.2851,419.8416,0,0,0,0,100,0),
(@PATH,195,2117.283,-255.3862,419.8547,0,0,0,0,100,0),
(@PATH,196,2119.5,-252.5099,419.8373,0,0,0,0,100,0),
(@PATH,197,2121.385,-249.4777,419.8588,0,0,0,0,100,0),
(@PATH,198,2124.685,-247.2684,419.8456,0,0,0,0,100,0),
(@PATH,199,2127.573,-245.2757,419.8559,0,0,0,0,100,0),
(@PATH,200,2133.392,-244.1602,419.8402,0,0,0,0,100,0),
(@PATH,201,2137.735,-244.0923,419.8532,0,0,0,0,100,0),
(@PATH,202,2138.638,-244.39,419.8335,0,0,0,0,100,0),
(@PATH,203,2144.909,-246.3063,419.8432,0,0,0,0,100,0),
(@PATH,204,2145.665,-247.0521,419.8282,0,0,0,0,100,0),
(@PATH,205,2150.377,-251.6478,419.8463,0,0,0,0,100,0),
(@PATH,206,2150.849,-252.4144,419.8322,0,0,0,0,100,0),
(@PATH,207,2153.28,-258.3525,419.8488,0,0,0,0,100,0),
(@PATH,208,2153.649,-259.3243,419.8399,0,0,0,0,100,0),
(@PATH,209,2154.299,-262.9203,419.8535,0,0,0,0,100,0),
(@PATH,210,2153.299,-266.7628,419.8428,0,0,0,0,100,0),
(@PATH,211,2151.033,-272.7038,419.852,0,0,0,0,100,0),
(@PATH,212,2149.098,-275.851,419.8375,0,0,0,0,100,0),
(@PATH,213,2148.494,-276.7098,419.8493,0,0,0,0,100,0),
(@PATH,214,2143.677,-279.5692,419.8445,0,0,0,0,100,0),
(@PATH,215,2142.035,-280.3772,419.8511,0,0,0,0,100,0),
(@PATH,216,2138.497,-281.3384,419.8466,0,0,0,0,100,0),
(@PATH,217,2133.646,-281.4714,419.8486,0,0,0,0,100,0),
(@PATH,218,2128.077,-280.7491,419.8445,0,0,0,0,100,0),
(@PATH,219,2126.348,-279.8224,419.8528,0,0,0,0,100,0),
(@PATH,220,2124.446,-278.4677,419.8404,0,0,0,0,100,0),
(@PATH,221,2119.856,-274.1364,419.8561,0,0,0,0,100,0),
(@PATH,222,2119.366,-273.1137,419.8451,0,0,0,0,100,0),
(@PATH,223,2117.289,-270.2128,419.853,0,0,0,0,100,0),
(@PATH,224,2116.423,-266.6825,419.8353,0,0,0,0,100,0),
(@PATH,225,2115.75,-263.1316,419.8546,0,0,0,0,100,0),
(@PATH,226,2116.429,-259.041,419.84,0,0,0,0,100,0),
(@PATH,227,2117.255,-255.6532,419.8563,0,0,0,0,100,0),
(@PATH,228,2119.334,-252.4552,419.8356,0,0,0,0,100,0),
(@PATH,229,2121.492,-249.121,419.8519,0,0,0,0,100,0),
(@PATH,230,2124.678,-247.4049,419.8439,0,0,0,0,100,0),
(@PATH,231,2127.599,-245.2161,419.8572,0,0,0,0,100,0),
(@PATH,232,2133.344,-244.1848,419.8389,0,0,0,0,100,0),
(@PATH,233,2137.909,-244.2356,419.853,0,0,0,0,100,0),
(@PATH,234,2138.829,-244.3384,419.8324,0,0,0,0,100,0),
(@PATH,235,2144.86,-246.5249,419.845,0,0,0,0,100,0),
(@PATH,236,2145.418,-246.8964,419.8271,0,0,0,0,100,0),
(@PATH,237,2150.166,-251.57,419.8424,0,0,0,0,100,0),
(@PATH,238,2150.956,-252.434,419.8308,0,0,0,0,100,0),
(@PATH,239,2153.357,-258.3802,419.8503,0,0,0,0,100,0),
(@PATH,240,2153.489,-259.1114,419.8412,0,0,0,0,100,0),
(@PATH,241,2154.233,-263.1594,419.8536,0,0,0,0,100,0),
(@PATH,242,2153.361,-266.7601,419.8429,0,0,0,0,100,0),
(@PATH,243,2151.069,-272.6876,419.8535,0,0,0,0,100,0),
(@PATH,244,2149.136,-275.8242,419.839,0,0,0,0,100,0),
(@PATH,245,2148.389,-276.7167,419.8503,0,0,0,0,100,0),
(@PATH,246,2143.658,-279.4376,419.8438,0,0,0,0,100,0),
(@PATH,247,2141.995,-280.4827,419.8509,0,0,0,0,100,0),
(@PATH,248,2138.715,-281.188,419.8482,0,0,0,0,100,0),
(@PATH,249,2133.678,-281.4474,419.8491,0,0,0,0,100,0),
(@PATH,250,2128.093,-280.8,419.8442,0,0,0,0,100,0),
(@PATH,251,2126.355,-279.8545,419.8533,0,0,0,0,100,0),
(@PATH,252,2124.401,-278.5337,419.8418,0,0,0,0,100,0),
(@PATH,253,2119.969,-273.9772,419.8535,0,0,0,0,100,0),
(@PATH,254,2119.218,-273.048,419.8435,0,0,0,0,100,0),
(@PATH,255,2117.167,-270.1247,419.8542,0,0,0,0,100,0),
(@PATH,256,2116.267,-266.6127,419.8356,0,0,0,0,100,0),
(@PATH,257,2115.704,-262.8353,419.851,0,0,0,0,100,0),
(@PATH,258,2116.622,-259.2294,419.8387,0,0,0,0,100,0),
(@PATH,259,2117.235,-255.5892,419.8574,0,0,0,0,100,0),
(@PATH,260,2119.295,-252.6449,419.8364,0,0,0,0,100,0),
(@PATH,261,2121.412,-249.271,419.8529,0,0,0,0,100,0),
(@PATH,262,2124.772,-247.2379,419.8428,0,0,0,0,100,0),
(@PATH,263,2127.472,-245.0748,419.8579,0,0,0,0,100,0),
(@PATH,264,2133.216,-244.2685,419.8393,0,0,0,0,100,0),
(@PATH,265,2137.768,-244.2796,419.8532,0,0,0,0,100,0),
(@PATH,266,2138.699,-244.3168,419.8319,0,0,0,0,100,0),
(@PATH,267,2144.979,-246.5113,419.8458,0,0,0,0,100,0),
(@PATH,268,2145.531,-246.882,419.828,0,0,0,0,100,0),
(@PATH,269,2150.27,-251.4795,419.8433,0,0,0,0,100,0),
(@PATH,270,2150.868,-252.292,419.83,0,0,0,0,100,0),
(@PATH,271,2153.256,-258.5002,419.8512,0,0,0,0,100,0),
(@PATH,272,2153.45,-259.4119,419.8477,0,0,0,0,100,0),
(@PATH,273,2154.197,-263.0151,419.8537,0,0,0,0,100,0),
(@PATH,274,2153.396,-266.8657,419.8429,0,0,0,0,100,0),
(@PATH,275,2151.1,-272.5308,419.8539,0,0,0,0,100,0),
(@PATH,276,2149.188,-275.948,419.8435,0,0,0,0,100,0),
(@PATH,277,2148.467,-276.5851,419.8509,0,0,0,0,100,0),
(@PATH,278,2143.79,-279.6123,419.8434,0,0,0,0,100,0),
(@PATH,279,2142.139,-280.3913,419.8506,0,0,0,0,100,0),
(@PATH,280,2138.432,-281.2635,419.8483,0,0,0,0,100,0),
(@PATH,281,2133.591,-281.4153,419.8492,0,0,0,0,100,0),
(@PATH,282,2128.006,-280.8312,419.8441,0,0,0,0,100,0),
(@PATH,283,2126.278,-279.8759,419.8536,0,0,0,0,100,0),
(@PATH,284,2124.575,-278.5553,419.8426,0,0,0,0,100,0),
(@PATH,285,2119.887,-274.0651,419.8543,0,0,0,0,100,0),
(@PATH,286,2119.311,-273.2159,419.842,0,0,0,0,100,0),
(@PATH,287,2117.285,-270.274,419.8553,0,0,0,0,100,0),
(@PATH,288,2116.393,-266.7715,419.8368,0,0,0,0,100,0),
(@PATH,289,2115.761,-262.8092,419.8522,0,0,0,0,100,0),
(@PATH,290,2116.551,-259.2138,419.8372,0,0,0,0,100,0),
(@PATH,291,2117.208,-255.5861,419.8588,0,0,0,0,100,0),
(@PATH,292,2119.547,-252.6185,419.8428,0,0,0,0,100,0),
(@PATH,293,2121.544,-249.2426,419.8545,0,0,0,0,100,0),
(@PATH,294,2124.559,-247.3517,419.8413,0,0,0,0,100,0),
(@PATH,295,2127.514,-245.2427,419.8587,0,0,0,0,100,0),
(@PATH,296,2133.425,-244.0956,419.8436,0,0,0,0,100,0),
(@PATH,297,2137.74,-244.1166,419.8533,0,0,0,0,100,0),
(@PATH,298,2138.642,-244.2656,419.8308,0,0,0,0,100,0),
(@PATH,299,2144.914,-246.4753,419.8472,0,0,0,0,100,0),
(@PATH,300,2145.778,-247.0364,419.8327,0,0,0,0,100,0),
(@PATH,301,2150.292,-251.5878,419.8445,0,0,0,0,100,0),
(@PATH,302,2150.978,-252.3157,419.8287,0,0,0,0,100,0),
(@PATH,303,2153.358,-258.2776,419.8507,0,0,0,0,100,0),
(@PATH,304,2153.438,-259.3952,419.8458,0,0,0,0,100,0),
(@PATH,305,2154.13,-263.0011,419.8538,0,0,0,0,100,0),
(@PATH,306,2153.465,-266.8359,419.843,0,0,0,0,100,0),
(@PATH,307,2151.174,-272.7438,419.8477,0,0,0,0,100,0),
(@PATH,308,2149.124,-275.7195,419.8417,0,0,0,0,100,0),
(@PATH,309,2148.374,-276.572,419.852,0,0,0,0,100,0),
(@PATH,310,2143.799,-279.4267,419.8429,0,0,0,0,100,0),
(@PATH,311,2142.138,-280.5714,419.8513,0,0,0,0,100,0),
(@PATH,312,2138.478,-281.2182,419.8478,0,0,0,0,100,0),
(@PATH,313,2133.62,-281.3604,419.8492,0,0,0,0,100,0),
(@PATH,314,2128.023,-280.8823,419.8437,0,0,0,0,100,0),
(@PATH,315,2126.298,-279.6766,419.854,0,0,0,0,100,0),
(@PATH,316,2124.574,-278.2258,419.8448,0,0,0,0,100,0),
(@PATH,317,2119.919,-273.963,419.8557,0,0,0,0,100,0),
(@PATH,318,2119.207,-273.481,419.8397,0,0,0,0,100,0),
(@PATH,319,2117.192,-270.289,419.8586,0,0,0,0,100,0),
(@PATH,320,2116.299,-266.3776,419.8394,0,0,0,0,100,0),
(@PATH,321,2115.579,-262.8281,419.8536,0,0,0,0,100,0),
(@PATH,322,2116.479,-259.2014,419.8357,0,0,0,0,100,0),
(@PATH,323,2117.136,-255.573,419.8573,0,0,0,0,100,0),
(@PATH,324,2119.634,-252.5595,419.8412,0,0,0,0,100,0),
(@PATH,325,2121.425,-249.4674,419.8561,0,0,0,0,100,0),
(@PATH,326,2124.596,-247.4654,419.8398,0,0,0,0,100,0),
(@PATH,327,2127.562,-245.1002,419.8573,0,0,0,0,100,0),
(@PATH,328,2133.426,-244.1162,419.8425,0,0,0,0,100,0),
(@PATH,329,2137.74,-244.1949,419.8533,0,0,0,0,100,0),
(@PATH,330,2138.633,-244.2223,419.8299,0,0,0,0,100,0),
(@PATH,331,2144.908,-246.3585,419.8402,0,0,0,0,100,0),
(@PATH,332,2145.793,-247.101,419.831,0,0,0,0,100,0),
(@PATH,333,2150.282,-251.677,419.846,0,0,0,0,100,0),
(@PATH,334,2150.804,-252.3159,419.8276,0,0,0,0,100,0),
(@PATH,335,2153.34,-258.5015,419.8459,0,0,0,0,100,0),
(@PATH,336,2153.423,-259.5856,419.8436,0,0,0,0,100,0),
(@PATH,337,2154.301,-262.9432,419.8539,0,0,0,0,100,0),
(@PATH,338,2153.412,-266.5431,419.8431,0,0,0,0,100,0),
(@PATH,339,2151.217,-272.683,419.8494,0,0,0,0,100,0),
(@PATH,340,2149.068,-275.7324,419.8399,0,0,0,0,100,0),
(@PATH,341,2148.514,-276.5857,419.853,0,0,0,0,100,0),
(@PATH,342,2143.669,-279.4746,419.8433,0,0,0,0,100,0),
(@PATH,343,2142.112,-280.4178,419.8515,0,0,0,0,100,0),
(@PATH,344,2138.5,-281.1766,419.8473,0,0,0,0,100,0),
(@PATH,345,2133.646,-281.5561,419.8492,0,0,0,0,100,0),
(@PATH,346,2128.046,-280.8696,419.8436,0,0,0,0,100,0),
(@PATH,347,2126.329,-279.758,419.8518,0,0,0,0,100,0),
(@PATH,348,2124.531,-278.3897,419.8433,0,0,0,0,100,0),
(@PATH,349,2119.924,-274.097,419.8569,0,0,0,0,100,0),
(@PATH,350,2119.404,-273.4104,419.8394,0,0,0,0,100,0),
(@PATH,351,2117.196,-270.2808,419.8498,0,0,0,0,100,0),
(@PATH,352,2116.342,-266.4054,419.838,0,0,0,0,100,0),
(@PATH,353,2115.646,-262.8445,419.855,0,0,0,0,100,0),
(@PATH,354,2116.479,-259.4894,419.8358,0,0,0,0,100,0),
(@PATH,355,2117.311,-255.373,419.8531,0,0,0,0,100,0),
(@PATH,356,2119.424,-252.5558,419.8391,0,0,0,0,100,0),
(@PATH,357,2121.524,-249.2506,419.8581,0,0,0,0,100,0),
(@PATH,358,2124.398,-247.4659,419.8406,0,0,0,0,100,0),
(@PATH,359,2127.492,-245.1315,419.8549,0,0,0,0,100,0),
(@PATH,360,2133.371,-244.1414,419.8412,0,0,0,0,100,0),
(@PATH,361,2137.703,-244.2849,419.8534,0,0,0,0,100,0),
(@PATH,362,2138.591,-244.2929,419.8337,0,0,0,0,100,0),
(@PATH,363,2144.836,-246.3249,419.8422,0,0,0,0,100,0),
(@PATH,364,2145.79,-247.1508,419.8291,0,0,0,0,100,0),
(@PATH,365,2150.251,-251.4958,419.8471,0,0,0,0,100,0),
(@PATH,366,2150.949,-252.3255,419.8331,0,0,0,0,100,0),
(@PATH,367,2153.148,-258.2553,419.8477,0,0,0,0,100,0),
(@PATH,368,2153.658,-259.5209,419.8413,0,0,0,0,100,0),
(@PATH,369,2154.272,-262.8908,419.8519,0,0,0,0,100,0),
(@PATH,370,2153.245,-266.7328,419.8427,0,0,0,0,100,0),
(@PATH,371,2151.003,-272.6668,419.8508,0,0,0,0,100,0),
(@PATH,372,2149,-275.7589,419.8381,0,0,0,0,100,0),
(@PATH,373,2148.448,-276.5918,419.852,0,0,0,0,100,0),
(@PATH,374,2143.745,-279.4238,419.845,0,0,0,0,100,0),
(@PATH,375,2142.11,-280.4974,419.8513,0,0,0,0,100,0),
(@PATH,376,2138.306,-281.3796,419.8467,0,0,0,0,100,0),
(@PATH,377,2133.706,-281.503,419.8489,0,0,0,0,100,0),
(@PATH,378,2128.148,-280.9649,419.8442,0,0,0,0,100,0),
(@PATH,379,2126.416,-279.7998,419.8525,0,0,0,0,100,0),
(@PATH,380,2124.547,-278.5999,419.8414,0,0,0,0,100,0),
(@PATH,381,2119.954,-274.0164,419.8572,0,0,0,0,100,0),
(@PATH,382,2119.277,-273.2014,419.8465,0,0,0,0,100,0),
(@PATH,383,2117.166,-270.3082,419.8518,0,0,0,0,100,0),
(@PATH,384,2116.392,-266.4799,419.8363,0,0,0,0,100,0),
(@PATH,385,2115.718,-263.1729,419.8556,0,0,0,0,100,0),
(@PATH,386,2116.494,-259.0769,419.8413,0,0,0,0,100,0),
(@PATH,387,2117.279,-255.4234,419.8549,0,0,0,0,100,0),
(@PATH,388,2119.475,-252.5402,419.8371,0,0,0,0,100,0),
(@PATH,389,2135.824,-281.7952,419.5996,0,0,0,0,100,0),
(@PATH,390,2134.843,-281.9885,419.5996,0,0,0,0,100,0),
(@PATH,391,2133.334,-281.7,419.6016,0,0,0,0,100,0),
(@PATH,392,2131.128,-281.278,419.5985,0,0,0,0,100,0),
(@PATH,393,2127.778,-280.8617,419.5922,0,0,0,0,100,0),
(@PATH,394,2127.415,-280.8166,419.5875,0,0,0,0,100,0),
(@PATH,395,2127.415,-280.8166,419.5875,0,0,0,0,100,0),
(@PATH,396,2124.507,-278.5157,419.84,0,0,0,0,100,0),
(@PATH,397,2119.995,-274.1338,419.8572,0,0,0,0,100,0),
(@PATH,398,2119.228,-273.4492,419.8398,0,0,0,0,100,0),
(@PATH,399,2117.275,-270.131,419.8505,0,0,0,0,100,0),
(@PATH,400,2116.36,-266.526,419.8373,0,0,0,0,100,0),
(@PATH,401,2115.673,-262.9527,419.8556,0,0,0,0,100,0),
(@PATH,402,2116.504,-259.3369,419.8362,0,0,0,0,100,0),
(@PATH,403,2117.298,-255.2383,419.8538,0,0,0,0,100,0),
(@PATH,404,2119.352,-252.3908,419.8383,0,0,0,0,100,0),
(@PATH,405,2121.475,-249.3434,419.8587,0,0,0,0,100,0),
(@PATH,406,2124.605,-247.5469,419.8411,0,0,0,0,100,0),
(@PATH,407,2127.674,-245.1894,419.8553,0,0,0,0,100,0),
(@PATH,408,2133.277,-244.1491,419.8408,0,0,0,0,100,0),
(@PATH,409,2137.868,-244.3116,419.8534,0,0,0,0,100,0),
(@PATH,410,2138.533,-244.3109,419.8347,0,0,0,0,100,0),
(@PATH,411,2144.787,-246.3197,419.8424,0,0,0,0,100,0),
(@PATH,412,2145.779,-247.1422,419.829,0,0,0,0,100,0),
(@PATH,413,2150.254,-251.4981,419.8471,0,0,0,0,100,0),
(@PATH,414,2150.947,-252.3222,419.8331,0,0,0,0,100,0),
(@PATH,415,2153.15,-258.2573,419.8477,0,0,0,0,100,0),
(@PATH,416,2153.658,-259.5222,419.8413,0,0,0,0,100,0),
(@PATH,417,2154.272,-262.8921,419.8519,0,0,0,0,100,0),
(@PATH,418,2153.25,-266.7143,419.8427,0,0,0,0,100,0),
(@PATH,419,2151.006,-272.6481,419.851,0,0,0,0,100,0),
(@PATH,420,2132.11,-281.4659,419.5985,0,0,0,0,100,0),
(@PATH,421,2131.128,-281.278,419.5985,0,0,0,0,100,0),
(@PATH,422,2127.778,-280.8617,419.5922,0,0,0,0,100,0),
(@PATH,423,2127.415,-280.8166,419.5875,0,0,0,0,100,0),
(@PATH,424,2126.119,-279.7908,419.5966,0,0,0,0,100,0),
(@PATH,425,2124.459,-278.4777,419.6088,0,0,0,0,100,0),
(@PATH,426,2124.459,-278.4777,419.6088,0,0,0,0,100,0),
(@PATH,427,2124.508,-278.3711,419.8434,0,0,0,0,100,0),
(@PATH,428,2119.893,-274.0807,419.8568,0,0,0,0,100,0),
(@PATH,429,2119.38,-273.3978,419.8393,0,0,0,0,100,0),
(@PATH,430,2117.176,-270.256,419.8496,0,0,0,0,100,0),
(@PATH,431,2116.335,-266.3639,419.8382,0,0,0,0,100,0),
(@PATH,432,2115.635,-262.7999,419.8548,0,0,0,0,100,0),
(@PATH,433,2116.462,-259.4209,419.8354,0,0,0,0,100,0),
(@PATH,434,2117.07,-255.2834,419.8525,0,0,0,0,100,0),
(@PATH,435,2119.479,-252.4916,419.8396,0,0,0,0,100,0),
(@PATH,436,2121.316,-249.4215,419.8575,0,0,0,0,100,0),
(@PATH,437,2142.93,-280.1531,419.5932,0,0,0,0,100,0),
(@PATH,438,2142.105,-280.7194,419.5932,0,0,0,0,100,0),
(@PATH,439,2138.419,-281.2838,419.5999,0,0,0,0,100,0),
(@PATH,440,2134.843,-281.9885,419.5996,0,0,0,0,100,0),
(@PATH,441,2134.843,-281.9885,419.5996,0,0,0,0,100,0),
(@PATH,442,2133.613,-281.5626,419.8492,0,0,0,0,100,0),
(@PATH,443,2128.025,-280.8738,419.8436,0,0,0,0,100,0),
(@PATH,444,2126.275,-279.7513,419.8517,0,0,0,0,100,0),
(@PATH,445,2124.343,-278.2927,419.8465,0,0,0,0,100,0),
(@PATH,446,2119.861,-274.0638,419.8566,0,0,0,0,100,0),
(@PATH,447,2119.344,-273.379,419.8391,0,0,0,0,100,0),
(@PATH,448,2117.148,-270.2206,419.8493,0,0,0,0,100,0),
(@PATH,449,2116.33,-266.577,419.8384,0,0,0,0,100,0),
(@PATH,450,2115.624,-262.7576,419.8546,0,0,0,0,100,0),
(@PATH,451,2116.454,-259.3886,419.8352,0,0,0,0,100,0),
(@PATH,452,2117.071,-255.2697,419.8524,0,0,0,0,100,0),
(@PATH,453,2119.495,-252.4735,419.8398,0,0,0,0,100,0),
(@PATH,454,2121.326,-249.4039,419.8574,0,0,0,0,100,0),
(@PATH,455,2124.453,-247.3627,419.8398,0,0,0,0,100,0),
(@PATH,456,2127.608,-245.2819,419.8542,0,0,0,0,100,0),
(@PATH,457,2133.259,-244.13,419.8418,0,0,0,0,100,0),
(@PATH,458,2137.854,-244.2375,419.8534,0,0,0,0,100,0),
(@PATH,459,2138.502,-244.2423,419.8312,0,0,0,0,100,0),
(@PATH,460,2144.794,-246.3466,419.8409,0,0,0,0,100,0),
(@PATH,461,2145.711,-247.0364,419.8304,0,0,0,0,100,0),
(@PATH,462,2150.187,-251.6179,419.8466,0,0,0,0,100,0),
(@PATH,463,2150.707,-252.2558,419.8282,0,0,0,0,100,0),
(@PATH,464,2153.275,-258.4186,419.8466,0,0,0,0,100,0),
(@PATH,465,2153.418,-259.4882,419.8429,0,0,0,0,100,0),
(@PATH,466,2154.282,-263.1044,419.8538,0,0,0,0,100,0),
(@PATH,467,2153.198,-266.6764,419.8427,0,0,0,0,100,0),
(@PATH,468,2150.975,-272.6195,419.8497,0,0,0,0,100,0),
(@PATH,469,2149.105,-275.9365,419.8395,0,0,0,0,100,0),
(@PATH,470,2148.545,-276.5334,419.8533,0,0,0,0,100,0),
(@PATH,471,2143.702,-279.4193,419.8434,0,0,0,0,100,0),
(@PATH,472,2142.142,-280.3971,419.8515,0,0,0,0,100,0),
(@PATH,473,2138.539,-281.1706,419.8472,0,0,0,0,100,0),
(@PATH,474,2133.69,-281.5474,419.8492,0,0,0,0,100,0),
(@PATH,475,2128.106,-280.8578,419.8436,0,0,0,0,100,0),
(@PATH,476,2126.359,-279.7617,419.8519,0,0,0,0,100,0),
(@PATH,477,2124.557,-278.4099,419.8431,0,0,0,0,100,0),
(@PATH,478,2119.935,-274.1028,419.857,0,0,0,0,100,0),
(@PATH,479,2119.175,-273.4214,419.8395,0,0,0,0,100,0),
(@PATH,480,2117.229,-270.3227,419.8501,0,0,0,0,100,0),
(@PATH,481,2116.349,-266.4525,419.8377,0,0,0,0,100,0),
(@PATH,482,2115.656,-262.8846,419.8552,0,0,0,0,100,0),
(@PATH,483,2116.486,-259.5158,419.8359,0,0,0,0,100,0),
(@PATH,484,2117.303,-255.4397,419.8535,0,0,0,0,100,0),
(@PATH,485,2119.376,-252.6125,419.8386,0,0,0,0,100,0),
(@PATH,486,2121.489,-249.3159,419.8585,0,0,0,0,100,0),
(@PATH,487,2124.37,-247.519,419.8409,0,0,0,0,100,0),
(@PATH,488,2127.685,-245.18,419.8552,0,0,0,0,100,0),
(@PATH,489,2133.289,-244.1481,419.8409,0,0,0,0,100,0),
(@PATH,490,2137.875,-244.3095,419.8534,0,0,0,0,100,0),
(@PATH,491,2138.537,-244.3099,419.8346,0,0,0,0,100,0),
(@PATH,492,2144.808,-246.3219,419.8423,0,0,0,0,100,0),
(@PATH,493,2145.776,-247.1397,419.829,0,0,0,0,100,0),
(@PATH,494,2150.245,-251.4911,419.8471,0,0,0,0,100,0),
(@PATH,495,2150.933,-252.3,419.8329,0,0,0,0,100,0),
(@PATH,496,2153.127,-258.4777,419.8479,0,0,0,0,100,0),
(@PATH,497,2153.657,-259.4913,419.8411,0,0,0,0,100,0),
(@PATH,498,2154.271,-262.8799,419.8518,0,0,0,0,100,0),
(@PATH,499,2153.253,-266.7011,419.8427,0,0,0,0,100,0),
(@PATH,500,2151.008,-272.6346,419.851,0,0,0,0,100,0),
(@PATH,501,2149.005,-275.7523,419.8381,0,0,0,0,100,0),
(@PATH,502,2148.417,-276.498,419.8524,0,0,0,0,100,0),
(@PATH,503,2143.587,-279.6118,419.843,0,0,0,0,100,0),
(@PATH,504,2142.183,-280.541,419.8516,0,0,0,0,100,0),
(@PATH,505,2138.539,-281.2088,419.8477,0,0,0,0,100,0),
(@PATH,506,2133.682,-281.3481,419.8492,0,0,0,0,100,0),
(@PATH,507,2128.083,-280.8939,419.8436,0,0,0,0,100,0),
(@PATH,508,2126.349,-279.6862,419.8541,0,0,0,0,100,0),
(@PATH,509,2124.347,-278.2437,419.8446,0,0,0,0,100,0),
(@PATH,510,2119.938,-273.9729,419.8558,0,0,0,0,100,0),
(@PATH,511,2119.229,-273.1153,419.8473,0,0,0,0,100,0),
(@PATH,512,2117.115,-270.2433,419.8513,0,0,0,0,100,0),
(@PATH,513,2116.381,-266.4122,419.8367,0,0,0,0,100,0),
(@PATH,514,2115.581,-262.8358,419.8536,0,0,0,0,100,0),
(@PATH,515,2116.472,-259.2242,419.8356,0,0,0,0,100,0),
(@PATH,516,2117.127,-255.6042,419.8571,0,0,0,0,100,0),
(@PATH,517,2119.603,-252.5964,419.8409,0,0,0,0,100,0),
(@PATH,518,2121.403,-249.2591,419.8564,0,0,0,0,100,0),
(@PATH,519,2124.551,-247.2393,419.8395,0,0,0,0,100,0),
(@PATH,520,2127.521,-245.1218,419.857,0,0,0,0,100,0),
(@PATH,521,2133.419,-244.1168,419.8425,0,0,0,0,100,0),
(@PATH,522,2137.741,-244.1945,419.8533,0,0,0,0,100,0),
(@PATH,523,2138.644,-244.2242,419.83,0,0,0,0,100,0),
(@PATH,524,2144.92,-246.3598,419.8401,0,0,0,0,100,0),
(@PATH,525,2145.667,-247.0538,419.8282,0,0,0,0,100,0),
(@PATH,526,2150.386,-251.6548,419.8463,0,0,0,0,100,0),
(@PATH,527,2150.85,-252.4155,419.8322,0,0,0,0,100,0),
(@PATH,528,2153.291,-258.3663,419.8486,0,0,0,0,100,0),
(@PATH,529,2153.65,-259.3578,419.8401,0,0,0,0,100,0),
(@PATH,530,2154.265,-262.7387,419.8505,0,0,0,0,100,0),
(@PATH,531,2153.288,-266.8102,419.8428,0,0,0,0,100,0),
(@PATH,532,2151.027,-272.7458,419.8518,0,0,0,0,100,0),
(@PATH,533,2149.093,-275.8853,419.8373,0,0,0,0,100,0),
(@PATH,534,2148.476,-276.7399,419.8491,0,0,0,0,100,0),
(@PATH,535,2143.646,-279.5873,419.8446,0,0,0,0,100,0),
(@PATH,536,2142.017,-280.3893,419.8511,0,0,0,0,100,0),
(@PATH,537,2138.484,-281.3468,419.8465,0,0,0,0,100,0),
(@PATH,538,2133.63,-281.4752,419.8486,0,0,0,0,100,0),
(@PATH,539,2128.041,-280.7423,419.8444,0,0,0,0,100,0),
(@PATH,540,2126.306,-279.8173,419.8527,0,0,0,0,100,0),
(@PATH,541,2124.409,-278.4382,419.8406,0,0,0,0,100,0),
(@PATH,542,2119.813,-274.1023,419.8564,0,0,0,0,100,0),
(@PATH,543,2119.338,-273.0624,419.8455,0,0,0,0,100,0),
(@PATH,544,2117.25,-270.1638,419.8526,0,0,0,0,100,0),
(@PATH,545,2116.415,-266.6323,419.8355,0,0,0,0,100,0),
(@PATH,546,2115.74,-263.0701,419.8549,0,0,0,0,100,0),
(@PATH,547,2116.449,-259.226,419.8404,0,0,0,0,100,0),
(@PATH,548,2117.262,-255.5822,419.8558,0,0,0,0,100,0),
(@PATH,549,2119.371,-252.4118,419.836,0,0,0,0,100,0),
(@PATH,550,2121.511,-249.3728,419.8575,0,0,0,0,100,0),
(@PATH,551,2124.735,-247.3749,419.8442,0,0,0,0,100,0),
(@PATH,552,2127.638,-245.1829,419.8569,0,0,0,0,100,0),
(@PATH,553,2133.397,-244.1804,419.8391,0,0,0,0,100,0),
(@PATH,554,2137.743,-244.1123,419.8522,0,0,0,0,100,0),
(@PATH,555,2138.628,-244.3467,419.8326,0,0,0,0,100,0),
(@PATH,556,2144.912,-246.5305,419.8447,0,0,0,0,100,0),
(@PATH,557,2145.471,-246.9019,419.8268,0,0,0,0,100,0),
(@PATH,558,2150.201,-251.5918,419.8422,0,0,0,0,100,0),
(@PATH,559,2150.978,-252.469,419.8311,0,0,0,0,100,0),
(@PATH,560,2153.14,-258.4227,419.85,0,0,0,0,100,0),
(@PATH,561,2153.513,-259.1426,419.8411,0,0,0,0,100,0),
(@PATH,562,2154.244,-262.9513,419.8536,0,0,0,0,100,0),
(@PATH,563,2121.984,-277.1794,419.5924,0,0,0,0,100,0),
(@PATH,564,2121.098,-276.7148,419.5924,0,0,0,0,100,0),
(@PATH,565,2119.636,-274.0649,419.6156,0,0,0,0,100,0),
(@PATH,566,2119.281,-273.4217,419.6069,0,0,0,0,100,0),
(@PATH,567,2116.933,-270.4605,419.5851,0,0,0,0,100,0),
(@PATH,568,2116.933,-270.4605,419.5851,0,0,0,0,100,0),
(@PATH,569,2117.235,-270.2112,419.8548,0,0,0,0,100,0),
(@PATH,570,2116.34,-266.7052,419.8363,0,0,0,0,100,0),
(@PATH,571,2115.736,-262.7117,419.8516,0,0,0,0,100,0),
(@PATH,572,2116.585,-259.1016,419.838,0,0,0,0,100,0),
(@PATH,573,2117.222,-255.7147,419.8582,0,0,0,0,100,0),
(@PATH,574,2119.284,-252.7544,419.8371,0,0,0,0,100,0),
(@PATH,575,2121.33,-249.4255,419.854,0,0,0,0,100,0),
(@PATH,576,2124.638,-247.3096,419.8418,0,0,0,0,100,0),
(@PATH,577,2127.597,-245.1809,419.8586,0,0,0,0,100,0),
(@PATH,578,2133.346,-244.1204,419.84,0,0,0,0,100,0),
(@PATH,579,2137.811,-244.0944,419.8532,0,0,0,0,100,0),
(@PATH,580,2138.728,-244.2799,419.8311,0,0,0,0,100,0),
(@PATH,581,2144.75,-246.4872,419.8471,0,0,0,0,100,0),
(@PATH,582,2145.594,-247.0888,419.8332,0,0,0,0,100,0),
(@PATH,583,2150.354,-251.6266,419.8442,0,0,0,0,100,0),
(@PATH,584,2150.769,-252.3822,419.8291,0,0,0,0,100,0),
(@PATH,585,2153.154,-258.3517,419.8511,0,0,0,0,100,0),
(@PATH,586,2153.441,-259.4819,419.8464,0,0,0,0,100,0),
(@PATH,587,2154.151,-263.0869,419.8538,0,0,0,0,100,0),
(@PATH,588,2153.439,-266.6941,419.843,0,0,0,0,100,0),
(@PATH,589,2151.139,-272.6223,419.8539,0,0,0,0,100,0),
(@PATH,590,2149.111,-275.7552,419.838,0,0,0,0,100,0),
(@PATH,591,2148.537,-276.6378,419.8496,0,0,0,0,100,0),
(@PATH,592,2143.742,-279.5325,419.8443,0,0,0,0,100,0),
(@PATH,593,2142.097,-280.5847,419.851,0,0,0,0,100,0),
(@PATH,594,2138.568,-281.2894,419.8471,0,0,0,0,100,0),
(@PATH,595,2133.484,-281.4856,419.8491,0,0,0,0,100,0),
(@PATH,596,2128.138,-280.7609,419.8445,0,0,0,0,100,0),
(@PATH,597,2126.406,-279.8297,419.8529,0,0,0,0,100,0),
(@PATH,598,2124.494,-278.5059,419.8401,0,0,0,0,100,0),
(@PATH,599,2119.844,-274.1614,419.8528,0,0,0,0,100,0),
(@PATH,600,2119.391,-273.1584,419.8447,0,0,0,0,100,0),
(@PATH,601,2117.064,-270.2455,419.8532,0,0,0,0,100,0),
(@PATH,602,2116.43,-266.7283,419.835,0,0,0,0,100,0),
(@PATH,603,2115.752,-263.1489,419.8545,0,0,0,0,100,0);
-- 0x1C2F304B60201F0000137E0000FF7768 .go 2125.243 -279.0981 419.6088
@@ -0,0 +1,6 @@
-- bang a gong starter npc
DELETE FROM `creature_queststarter` WHERE `id` = 15192 AND `quest` = 8743;
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES ('15192', '8743');
DELETE FROM `creature_questender` WHERE `id` = 15192 AND `quest` = 8743;
INSERT INTO `creature_questender` (`id`, `quest`) VALUES ('15192', '8743');
@@ -0,0 +1,17 @@
-- Flame Revenant (30873)
UPDATE `creature` SET `phaseMask` = 1 WHERE `id` = 30873;
-- Move ally vendors (don't need to delete originals, they are in differen phase)
DELETE FROM `creature` WHERE guid IN (900024, 900025);
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
(900024, 39172, 571, 0, 0, 1, 1, 0, 0, 5370.42, 2880.77, 409.239, 3.12728, 300, 0, 0, 12600, 0, 0, 0, 134218496, 0, 0),
(900025, 32294, 571, 0, 0, 1, 1, 0, 0, 5370.47, 2887.44, 409.24, 3.55288, 300, 0, 0, 12600, 0, 0, 0, 134218496, 0, 0);
-- Show some allies
UPDATE `creature` SET `phaseMask` = 1 WHERE `phaseMask` = 128 AND `id` IN (31051, 30489);
-- Hide some horde guards
UPDATE `creature` SET `phaseMask` = 128 WHERE `guid` IN (131260, 131259, 131264, 131269);
@@ -0,0 +1,7 @@
SET
@Entry = 190010,
@Name = "Warpweaver";
DELETE FROM `creature_template` WHERE `entry` = 190010;
INSERT INTO `creature_template` (`entry`, `modelid1`, `modelid2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `scale`, `rank`, `dmgschool`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `AIName`, `MovementType`, `InhabitType`, `HoverHeight`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(@Entry, 19646, 0, @Name, "Transmogrifier", NULL, 0, 80, 80, 2, 35, 1, 1, 0, 0, 2000, 0, 1, 0, 7, 138936390, 0, 0, 0, '', 0, 3, 1, 0, 0, 1, 0, 0, 'Creature_Transmogrify');
@@ -0,0 +1,20 @@
SET @TEXT_ID := 50000;
DELETE FROM `npc_text` WHERE `ID` IN (@TEXT_ID,@TEXT_ID+1);
INSERT INTO `npc_text` (`ID`, `text0_0`) VALUES
(@TEXT_ID, 'Transmogrification allows you to change how your items look like without changing the stats of the items.\r\nItems used in transmogrification are no longer refundable, tradeable and are bound to you.\r\nUpdating a menu updates the view and prices.\r\n\r\nNot everything can be transmogrified with eachother.\r\nRestrictions include but are not limited to:\r\nOnly armor and weapons can be transmogrified\r\nGuns, bows and crossbows can be transmogrified with eachother\r\nFishing poles can not be transmogrified\r\nYou must be able to equip both items used in the process.\r\n\r\nTransmogrifications stay on your items as long as you own them.\r\nIf you try to put the item in guild bank or mail it to someone else, the transmogrification is stripped.\r\n\r\nYou can also remove transmogrifications for free at the transmogrifier.'),
(@TEXT_ID+1, 'You can save your own transmogrification sets.\r\n\r\nTo save, first you must transmogrify your equipped items.\r\nThen when you go to the set management menu and go to save set menu,\r\nall items you have transmogrified are displayed so you see what you are saving.\r\nIf you think the set is fine, you can click to save the set and name it as you wish.\r\n\r\nTo use a set you can click the saved set in the set management menu and then select use set.\r\nIf the set has a transmogrification for an item that is already transmogrified, the old transmogrification is lost.\r\nNote that same transmogrification restrictions apply when trying to use a set as in normal transmogrification.\r\n\r\nTo delete a set you can go to the set\'s menu and select delete set.');
SET @STRING_ENTRY := 11100;
DELETE FROM `trinity_string` WHERE `entry` IN (@STRING_ENTRY+0,@STRING_ENTRY+1,@STRING_ENTRY+2,@STRING_ENTRY+3,@STRING_ENTRY+4,@STRING_ENTRY+5,@STRING_ENTRY+6,@STRING_ENTRY+7,@STRING_ENTRY+8,@STRING_ENTRY+9,@STRING_ENTRY+10);
INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES
(@STRING_ENTRY+0, 'Item transmogrified'),
(@STRING_ENTRY+1, 'Equipment slot is empty'),
(@STRING_ENTRY+2, 'Invalid source item selected'),
(@STRING_ENTRY+3, 'Source item does not exist'),
(@STRING_ENTRY+4, 'Destination item does not exist'),
(@STRING_ENTRY+5, 'Selected items are invalid'),
(@STRING_ENTRY+6, 'Not enough money'),
(@STRING_ENTRY+7, 'You don\'t have enough tokens'),
(@STRING_ENTRY+8, 'Transmogrifications removed'),
(@STRING_ENTRY+9, 'There are no transmogrifications'),
(@STRING_ENTRY+10, 'Invalid name inserted');
@@ -0,0 +1,5 @@
# remove approved accounts from banlist
DELETE FROM account_banned WHERE banreason = "New user waiting for approvement" AND active = 0;
@@ -0,0 +1,82 @@
# TOOLS:
#
# Query to check linked permission giving a permission id
select * from rbac_permissions WHERE id IN (select linkedId FROM rbac_linked_permissions WHERE id = 198)
# Show azeroth roles
select * from rbac_permissions WHERE id >= 100000
# How to extract commands and add to this file:
SELECT CONCAT("(100001,",id,"), #",`name`) FROM rbac_permissions WHERE NAME LIKE "%Command: lookup%"
# create readable list of all permissions
SELECT CONCAT("-- ",NAME) FROM rbac_permissions ORDER BY NAME,ID
#
# SINGLE USER SEARCH
# Categoria del permesso (ultima da cui eredita) | Id del permesso | Nome del permesso
#Query che passando %IDACCOUNT% id dellaccount player ritorna tutti i comandi abilitati per quel player. La tupla è nella forma
SET @IDACCOUNT = 624;
SELECT DISTINCT t.id AS user_id, r.id AS perm_id, r.name FROM (
SELECT a.id AS ID, IFNULL(e.linkedId, IFNULL(d.linkedId, IFNULL(c.linkedId, IFNULL(b.linkedId, a.linkedId)))) LINK FROM rbac_linked_permissions a LEFT JOIN rbac_linked_permissions b ON (a.linkedId = b.id) LEFT JOIN rbac_linked_permissions c ON (b.linkedId = c.id) LEFT JOIN rbac_linked_permissions d ON (c.linkedId = d.id) LEFT JOIN rbac_linked_permissions e ON (d.linkedId = e.id)
) t JOIN rbac_permissions r ON (LINK = r.id) WHERE t.id IN (
SELECT rbac_account_permissions.permissionId FROM (SELECT id FROM account_access WHERE id = @IDACCOUNT ) account JOIN rbac_account_permissions ON (account.id = rbac_account_permissions.accountId)
UNION
SELECT rbac_default_permissions.permissionId FROM (SELECT gmlevel FROM account_access WHERE id = @IDACCOUNT ) account JOIN rbac_default_permissions ON (account.gmlevel = rbac_default_permissions.secId)
)
#
# ROLE SEARCH
#
SET @ROLE = 100010;
SELECT DISTINCT t.id as user_id, r.id as perm_id, r.name FROM (
select a.id as ID, IFNULL(e.linkedId, IFNULL(d.linkedId, IFNULL(c.linkedId, IFNULL(b.linkedId, a.linkedId)))) LINK FROM rbac_linked_permissions a left join rbac_linked_permissions b ON (a.linkedId = b.id) left join rbac_linked_permissions c ON (b.linkedId = c.id) left join rbac_linked_permissions d ON (c.linkedId = d.id) left join rbac_linked_permissions e ON (d.linkedId = e.id)
) t JOIN rbac_permissions r ON (LINK = r.id)
WHERE t.id = @ROLE
#
# ROLE SEARCH depth = 10
#
SET @ROLE = 100010;
SELECT DISTINCT t.id AS user_id, r.id AS perm_id, r.name FROM (
SELECT a.id AS ID,
IFNULL(i.linkedId,
IFNULL(h.linkedId,
IFNULL(g.linkedId,
IFNULL(f.linkedId,
IFNULL(e.linkedId,
IFNULL(d.linkedId,
IFNULL(c.linkedId,
IFNULL(b.linkedId, a.linkedId))))))))
LINK FROM rbac_linked_permissions a
LEFT JOIN rbac_linked_permissions b ON (a.linkedId = b.id)
LEFT JOIN rbac_linked_permissions c ON (b.linkedId = c.id)
LEFT JOIN rbac_linked_permissions d ON (c.linkedId = d.id)
LEFT JOIN rbac_linked_permissions e ON (d.linkedId = e.id)
LEFT JOIN rbac_linked_permissions f ON (e.linkedId = f.id)
LEFT JOIN rbac_linked_permissions g ON (f.linkedId = g.id)
LEFT JOIN rbac_linked_permissions h ON (g.linkedId = h.id)
LEFT JOIN rbac_linked_permissions i ON (h.linkedId = i.id)
) t JOIN rbac_permissions r ON (LINK = r.id)
WHERE t.id = @ROLE
@@ -0,0 +1,17 @@
# Clean old account_transfer character data ( keeping other information about the transfer )
UPDATE account_transfer SET cDump = "CLEANED", cItemRow = "CLEANED" WHERE date_created < '2015-08-15 00:00:00' AND cStatus <> 0;
# sometime, after accepting a transfer, the ajax can be fail for various
# reasons stucking the characters in porting account.
# following query can be used to "fix" characters affected by this error
UPDATE azth_1_chars.characters AS a RIGHT JOIN (
SELECT guid,cAccount FROM azth_auth.account_transfer WHERE
/* conditions must follow this order for best performances */
guid IN (SELECT guid FROM azth_1_chars.characters WHERE account = 523)
AND cStatus = 1
) AS b
ON a.guid=b.GUID SET a.account=b.cAccount;
@@ -0,0 +1,39 @@
DBC Tool v2.7b by TRX.
Q.How to use talents editor?
A. Run my tool, go to Tools/Talent Editor
New widow will appear... up u can change classes and down u can change talent tabs...
Talents are in x,y order like in game so u dont have to worry where u will put ur talents... just use the spot in program and in that spot talent will appear in game...
For each talent u can specify :
--Talent ID (its NOT a spell! just talent id...) i would recommend if u are gonna make new talents, to use nubmers from 1700 and up... but dont ever use numbers like 99999 just start from 1700 and do up one by one...
--Req. Talent...This is where u specify wich talent is needed for this talent to learn...
--Req. N...This is where u specify how much talent points in req. talent is needed for this one to be learned... use from 1 to 5....
-Button S...New window appears where u set talent spells (Rank1, Rank2,....)
-Button OK will apply changes
ATTENTION : Allways edit only one talent at one time, then apply changes, and then u can edit other....
Also, if u want to make new tab, go to empty tab, and first thing u do is specify its NAME...
IF you made NEW talent tab, you also need to make background for it... U got 4 .png files with my program, if u want u can edit them with photoshop...and convert them with BLPConverer to .blp
important is to RENAME them...how? well if your tab's name is "TRX", and its class warlock then filenames would be :
WarlockTRX-BottomLeft.blp
WarlockTRX-BottomRight.blp
WarlockTRX-TopLeft.blp
WarlockTRX-TopRight.blp
when u did that, copy them to : ur "World of Warcraft\Data\Interface\TalentFrame\"(case sensitive!)
and thats all... :D
@@ -0,0 +1,7 @@
If midas makes any problems do this :
copy midas.dll to Windows\System32... then
open ms-dos(Start/Run and type "cmd") and go to that dir(windows\system32) and type : "regsvr32 midas.dll"
That should do the job^^
@@ -0,0 +1,83 @@
*----------------------*
||DBC Tool by TRX v2.7b||
*----------------------*
*-----------------*
Version 3.0 BETA!
*-----------------*
Hello,
Here is the new version, but some stuff to be added is not there.... i only released this BETA to see if u guys find any bugs, so i can release a good working full version of 3.0....
Everything should work, i tested everything, but something may have slipped my fingers....
so here u go :
DBC Tool v3.0 BETA by TRX
So, here goes a list of functions that are in there :
- Open dbc file :D
- Save dbc file :D
- Edit Column types
- Clear the grid
- Notes window :D
- Hex to Decimal and Decimal to Hex Converter
- Copy Row
- Compare Rows (3 Options : Show entire rows in new grid, show only columns which have diffrent values in new grid, and show only columns which have same values in new window)
- Make DBC Tool default program to open dbc's (when u click on some dbc in explorer, it will open up in my tool....)
- Talent Editor (has some bugs allready, its not finished yet...)
- Import from DBC Patcher's format (working GREAT)
- Import from new patch format (looks like ini file)
- Added preset for 1.12.x spell.dbc, i simply parsed data from [url=http://www.sourcepeek.com/wiki/Spell.dbc]THIS[/url] site to definition ini.... so if its wrong dont blame me...
- Export to CSV
- Export to new patch format
- Export to DBC Patcher's format
NOTE : There is no longer that shity Export queue, now u select rows by Shift + Left Click....
If you Shift + Click on some cell, it will select only that cell, but if u Shift + Click on spell ID it will select entire row!!
Things to add in final version :
- Compare DBC's
- Compare Patches
- Convert new patch format file to DBCPatcher's format file
- Convert DBCPatcher's format file to new patch format file
- More presets...
- And more, i can't remember now of more :(
*-------------*
Version 2.7b
*-------------*
-Fixxed few minor bugs
-Added Talent Editor
-Added Import from DBC Patcher's format (can be used with params too: DBCTool /i [filetopatch] [patchfile])
Good thing about it is that it imports not only nubmers but text also,(unlike dbcpatcher who doesnt import text...)
there are two cases when u have text in row... one like this :
5:1=1,2=0,3=0,4=0,5=0,6=0,7=131072,8=67108864,9=0,10=0,11=0,12=0,13=0,14=0,15=0,16=1,17=0,18=0,19=0,20=0,21=0,22=0,23=101,24=0,25=0,26=0,27=0,28=0,29=0,30=0,31=0,32=0,33=0,34=6,35=0,36=0,37=0,38=0,39=0,40=0,41=0,42=0,43=0,44=0,45=0,46=0,47=0,48=0,49=0,50=0,51=0,52=0,53=0,54=0,55=0,56=-1,57=0,58=1,59=0,60=0,61=6,62=0,63=0,64=0,65=0,66=0,67=0,68=0,69=0,70=0,71=0,72=0,73=0,74=0,75=0,76=0,77=0,78=0,79=25,80=0,81=0,82=0,83=0,84=0,85=0,86=0,87=0,88=0,89=0,90=0,91=0,92=0,93=0,94=1065353216,95=0,96=0,97=0,98=0,99=0,100=0,101=0,102=0,103=0,104=0,105=0,106=0,107=0,108=0,109=0,110=0,111=0,112=0,113=0,114=1,115=0,116=50,117=Death Touch,118=0,119=0,120=0,121=0,122=0,123=0,124=0,125=2031678,126=,127=0,128=0,129=0,130=0,131=0,132=0,133=0,134=8323132,135=Instantly Kills the target. I hope you feel good about yourself now.....,136=0,137=0,138=0,139=0,140=0,141=0,142=0,143=8323134,144=,145=0,146=0,147=0,148=0,149=0,150=0,151=0,152=2031676,153=0,154=0,155=0,156=0,157=0,158=0,159=0,160=0,161=0,162=-1,163=1,164=1,165=1,166=0,167=0,168=0,169=0
and one like this
17:1=1,2=56,3=0,4=1,5=19,6=329728,7=0,8=2621440,9=134217728,10=0,11=0,12=0,13=0,14=0,15=0,16=1,17=0,18=4000,19=8,20=0,21=0,22=0,23=101,24=0,25=11,26=6,27=6,28=9,29=0,30=45,31=0,32=0,33=0,34=5,35=0,36=0,37=0,38=0,39=0,40=0,41=0,42=0,43=0,44=0,45=0,46=0,47=0,48=0,49=0,50=0,51=0,52=0,53=0,54=0,55=0,56=-1,57=0,58=6,59=0,60=0,61=1,62=0,63=0,64=1,65=0,66=0,67=0,68=0,69=0,70=0.800000011920929,71=0,72=0,73=43,74=0,75=0,76=0,77=0,78=0,79=57,80=0,81=0,82=0,83=0,84=0,85=0,86=0,87=0,88=69,89=0,90=0,91=0,92=0,93=0,94=0,95=0,96=0,97=0,98=0,99=0,100=0,101=0,102=0,103=127,104=0,105=0,106=0,107=0,108=0,109=0,110=0,111=0,112=784,113=0,114=566,115=0,116=50,117=Power Word: Shield,118=0,119=0,120=0,121=0,122=0,123=0,124=0,125=2031678,126=Rank 1,127=0,128=0,129=0,130=0,131=0,132=0,133=0,134=2031678,135="Draws on the soul of the party member to shield them, absorbing $s1 damage. Lasts $d. While the shield holds, spellcasting will not be interrupted by damage. Once shielded, the target cannot be shielded again for $6788d.",136=0,137=0,138=0,139=0,140=0,141=0,142=0,143=2031678,144=Absorbs damage.,145=0,146=0,147=0,148=0,149=0,150=0,151=0,152=2031678,153=0,154=133,155=1500,156=0,157=6,158=1,159=0,160=1,161=1,162=-1,163=1,164=1,165=1,166=0,167=0,168=0,169=0
u will notice that in case 2 there are two "text" thats because there is ',' in text...
so if u have ',' in spell text u need to put " at begining of text and at the end of text...
btw when u export using my tool, it automaticaly creates that, so u dont have to do it your self....
if anyone has any question, d6qwerty@yahoo.com (my mail...)

Some files were not shown because too many files have changed in this diff Show More