├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── LICENSE ├── README.md ├── cpp └── src │ └── server │ └── game │ └── Entities │ └── Player │ └── PlayerUpdates.cpp ├── dbc ├── Achievement.dbc ├── Faction.dbc └── FactionTemplate.dbc ├── gitattributes.txt ├── gitignore.txt ├── icon.png ├── lua ├── FactionFreeTeleports_Gnome.lua └── FactionFreeTeleports_Goblin.lua ├── mpq └── Patch-F.mpq └── sql └── world ├── EntryChecker_RUN_FIRST.sql └── FactionFree.sql /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: "[BUG] Description of Problem" 5 | labels: bug 6 | assignees: gitdalisar 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **Steps To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Screenshots** 21 | If applicable, add screenshots to help explain your problem. 22 | 23 | **AzerothCore Environment** 24 | - AzerothCore Build: [e.g. main, a branch, etc] 25 | - Architecture [e.g. Windows, Linux, MySQL, etc] 26 | - Custom Client [e.g. custom .exe, other MPQ, etc] 27 | 28 | **Additional context** 29 | Add any other context about the problem here. 30 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Faction Free 2 | Name: mod-Faction-Free \ 3 | Author: gitdalisar \ 4 | Repository: https://github.com/gitdalisar/mod-Faction-Free \ 5 | Download: https://github.com/gitdalisar/mod-Faction-Free/archive/refs/heads/main.zip \ 6 | License: GNU Affero General Public License v3.0 7 | 8 | Designed and Implemented for AzerothCore (https://azerothcore.org). If you are running a different server version, please review the files before loading into your environment! 9 | 10 | ## Purpose 11 | The goal of these changes are to allow for players of either faction to be able to gain repuatation for, take quests from, use cities of, earn the achievements for, and all other such features of the opposing faction. The concept was to truly be **_The Saviour of Azeroth_** and be able to assist and gain favor for all races and cities across the lands. Playing WOW you are always hailed as the hero, but if you _truly_ were the hero everyone says you are, then wouldn't you maybe even be welcome in opposing faciton cities? The threats you have contained surely benefited them as well. These series of changes are to make that happen! 12 | 13 | Please note though that these changes are **strictly** to the "Player-to-NPC" relationship. For the ability to have cross-faction groups, trade, guilds, etc. you will simply need to modify the worldserver.conf settings within your build path. 14 | 15 | ## How it works 16 | This is not a module that you need to place within that directory, but rather a replacement to server side DBC files, modification of the acore_world database, use of LUA scripts, and the inclusion of a custom .MPQ file to ensure the DBC changes are represented correctly in your client. You will need to do the following: 17 | 18 | 1. Ensure that your server supports LUA scripts by confirming the existance of the /build/bin/lua_scripts directory 19 | - If this is not present, please install mod-Eluna from this location: https://github.com/azerothcore/mod-eluna 20 | 2. Stop the Auth and Worldserver services just to keep things clean 21 | 3. Make the appropriate backups 22 | 4. Download all relevant files 23 | 5. Replace the existing Achievement.dbc, Faction.dbc, and Faction_Template.dbc in your build data directory with the 3 included here 24 | - **NOTE**: If you have made modifications to these DBC files, such as your own custom factions or achievements, you will need to add thoes back in 25 | 6. Add the Patch-F.MPQ to your client data directory 26 | - **NOTE**: If you already have a Patch-F.MPQ file in use, simply change the "F" to an unused letter. I chose F as all of these changes are tied to Faction. 27 | 7. Log into MySQL and run the attached .SQL files against the acore_world database 28 | - First, run the EntryChecker.sql file to determine if any of the id, entry, or guid are currently in use 29 | - If things are found, please modify the FactionFree.sql to use values that are not in use 30 | - After ensuring no values are already in use, or after changing to ones that are free, run the FactionFree.sql against acore_world 31 | 8. Navigate to the directory shown under the cpp directory in this repo, copy the EXISTING PlayerUpdates.cpp file to something like PlayerUpdates.cpp.bkup 32 | to keep the original file incase you need it in the future. Then copy the PlayerUpdates.cpp file from the repo into that location. 33 | 9. Recompile and Remake the server as normal and enjoy! 34 | 35 | The list of entry, ID, and GUID values used in this module can be seen below: 36 | |Location (table)|Column (attribute)|Values Used| 37 | |----------------|------------------|-----------| 38 | |creature_template|entry|500,000-500,001| 39 | |gameobject_template|entry|500,000-500,004| 40 | |broadcast_text|ID|500,000-500,001 and 500,003| 41 | |npc_text|ID|500,000-500,001 and 500,003| 42 | |creature|GUID|5,000,000-5,000,019| 43 | |gameobject|GUID|5,000,000-5,000,049| 44 | 45 | 46 | ## Contact Info 47 | If you would like to ask any questions, you can find me on the AzerothCore Discord (https://discord.gg/s8wwRYGaUT) as well as the WoW Modding Community Discord (https://discord.gg/zqSaT95fk2) as @Dalisar so feel free to DM me there! 48 | 49 | ## Special Thanks! 50 | Special thanks to the AC and WOW Modding communities for their support. Also, special shout out to those assisting in testing and code review: 51 | @GitFinntastic, @GitVenyce, and @Aldori15, @DarkLava, @Ghostsupthere 52 | 53 | ## Change Log 54 | v1.0.0: March 4, 2024 55 | - Initial Release 56 | 57 | v1.1.0: March 24, 2024 58 | - Teleport Network now included (Capital Cities and Instances) with NPCs, GObjects, and LUA scrpits 59 | - Players now know all player languages at character creation 60 | - Inns are now factionless and will give rested XP to any player regardless to faction 61 | - Players can now understand NPC/Creatures when they speak a Player-native language to ensure cross-faction language support 62 | 63 | v1.1.1: March 25, 2024 64 | - Fixed issue where FactionFree.sql did not have the INSERT statements for creature table in acore_world 65 | - Adjusted GUIDs to be more predictable and high range like the Entry/ID values used 66 | 67 | v1.2.0: March 28, 2024 68 | - Fixed issue where FactionFree.sql did not have the lang0 definition for npc_text to ensure cross-faction legibility of NPC speech 69 | - Added a .cpp file to be used in recompile to remove a player being flagged as PVP when in opposing faction's city 70 | - Players can now purchase faction locked mounts and recieve faction locked quest items regardless of player faction 71 | 72 | v1.3.0: April 7, 2024 73 | - Resolved various factions that would attack a player despite being friendly 74 | - Moved NPCs in airship battle to monster faction to allow for proper cross-faction combat 75 | 76 | v1.3.1: April 16, 2024 77 | - Corrected two factions that were still attacking players despite being freindly, 1735 for Horde and 1732 for Alliance 78 | 79 | v1.3.2: April 26, 2024 80 | - Updated Duskwood Nightwatch to Stormwind faction to remove aggression towards Horde players 81 | - Corrected all factional item issues to ensure pvp gear and facitonal gear in a mixed faction raid could be earned by all 82 | - Set NPCs required to be attackable for _The Battered Hilt_ quest to creature faction ensure completion is possible 83 | - Updated FactionFree.sql to include DELETE statements ahead of INSERT statments for easier reuse of file as patches are released 84 | 85 | v1.3.3: May 1, 2024 86 | - Rebuilt server from master for code refresh, updated the clean PlayerUpdates.cpp to new version here 87 | - Removed two unnecessary factions from FactionTemplate.dbc as reported in discord release forum 88 | - Recreated Patch-F.MPQ to have the updated FactionTemplate.dbc post corrections 89 | 90 | v1.3.4: May 6, 2024 91 | - Updated Raventusk Village to Orgrimmar to avoid NPCs attacking Alliance players 92 | 93 | v1.3.5: December 12, 2024 94 | - Updated PlayerUpdates.cpp and FactionFree.sql to work with current Azerothcore main branch after changes to .cpp and db structure 95 | 96 | v1.3.6: February 15, 2025 97 | - Updated PlayerUpdates.cpp to work with current Azerothcore main branch after changes to .cpp 98 | - Added faction 1637 to FactionFree.sql to correct faction Horde NPCs attacking Alliance players 99 | -------------------------------------------------------------------------------- /dbc/Achievement.dbc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitdalisar/mod-Faction-Free/d735e482877d5fb39ee5cf9fd81570405d59f372/dbc/Achievement.dbc -------------------------------------------------------------------------------- /dbc/Faction.dbc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitdalisar/mod-Faction-Free/d735e482877d5fb39ee5cf9fd81570405d59f372/dbc/Faction.dbc -------------------------------------------------------------------------------- /dbc/FactionTemplate.dbc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitdalisar/mod-Faction-Free/d735e482877d5fb39ee5cf9fd81570405d59f372/dbc/FactionTemplate.dbc -------------------------------------------------------------------------------- /gitattributes.txt: -------------------------------------------------------------------------------- 1 | ## AUTO-DETECT 2 | ## Handle line endings automatically for files detected as 3 | ## text and leave all files detected as binary untouched. 4 | ## This will handle all files NOT defined below. 5 | * text=auto eol=lf 6 | 7 | # Text 8 | *.conf text 9 | *.conf.dist text 10 | *.cmake text 11 | 12 | ## Scripts 13 | *.sh text 14 | *.fish text 15 | *.lua text 16 | 17 | ## SQL 18 | *.sql text 19 | 20 | ## C++ 21 | *.c text 22 | *.cc text 23 | *.cxx text 24 | *.cpp text 25 | *.c++ text 26 | *.hpp text 27 | *.h text 28 | *.h++ text 29 | *.hh text 30 | 31 | 32 | ## For documentation 33 | 34 | # Documents 35 | *.doc diff=astextplain 36 | *.DOC diff=astextplain 37 | *.docx diff=astextplain 38 | *.DOCX diff=astextplain 39 | *.dot diff=astextplain 40 | *.DOT diff=astextplain 41 | *.pdf diff=astextplain 42 | *.PDF diff=astextplain 43 | *.rtf diff=astextplain 44 | *.RTF diff=astextplain 45 | 46 | ## DOCUMENTATION 47 | *.markdown text 48 | *.md text 49 | *.mdwn text 50 | *.mdown text 51 | *.mkd text 52 | *.mkdn text 53 | *.mdtxt text 54 | *.mdtext text 55 | *.txt text 56 | AUTHORS text 57 | CHANGELOG text 58 | CHANGES text 59 | CONTRIBUTING text 60 | COPYING text 61 | copyright text 62 | *COPYRIGHT* text 63 | INSTALL text 64 | license text 65 | LICENSE text 66 | NEWS text 67 | readme text 68 | *README* text 69 | TODO text 70 | 71 | ## GRAPHICS 72 | *.ai binary 73 | *.bmp binary 74 | *.eps binary 75 | *.gif binary 76 | *.ico binary 77 | *.jng binary 78 | *.jp2 binary 79 | *.jpg binary 80 | *.jpeg binary 81 | *.jpx binary 82 | *.jxr binary 83 | *.pdf binary 84 | *.png binary 85 | *.psb binary 86 | *.psd binary 87 | *.svg text 88 | *.svgz binary 89 | *.tif binary 90 | *.tiff binary 91 | *.wbmp binary 92 | *.webp binary 93 | 94 | 95 | ## ARCHIVES 96 | *.7z binary 97 | *.gz binary 98 | *.jar binary 99 | *.rar binary 100 | *.tar binary 101 | *.zip binary 102 | 103 | ## EXECUTABLES 104 | *.exe binary 105 | *.pyc binary 106 | -------------------------------------------------------------------------------- /gitignore.txt: -------------------------------------------------------------------------------- 1 | !.gitignore 2 | 3 | # 4 | #Generic 5 | # 6 | 7 | .directory 8 | .mailmap 9 | *.orig 10 | *.rej 11 | *.*~ 12 | .hg/ 13 | *.kdev* 14 | .DS_Store 15 | CMakeLists.txt.user 16 | *.bak 17 | *.patch 18 | *.diff 19 | *.REMOTE.* 20 | *.BACKUP.* 21 | *.BASE.* 22 | *.LOCAL.* 23 | 24 | # 25 | # IDE & other softwares 26 | # 27 | /.settings/ 28 | /.externalToolBuilders/* 29 | /.vs 30 | # exclude in all levels 31 | nbproject/ 32 | .sync.ffs_db 33 | *.kate-swp 34 | reset.sh 35 | 36 | # 37 | # Eclipse 38 | # 39 | *.pydevproject 40 | .metadata 41 | .gradle 42 | tmp/ 43 | *.tmp 44 | *.swp 45 | *~.nib 46 | local.properties 47 | .settings/ 48 | .loadpath 49 | .project 50 | .cproject 51 | .vscode -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitdalisar/mod-Faction-Free/d735e482877d5fb39ee5cf9fd81570405d59f372/icon.png -------------------------------------------------------------------------------- /lua/FactionFreeTeleports_Gnome.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Teleport LUA for the Faction Free Module. This will map to the goblin NPC 3 | so that the menu items can correspond to their different npc_text Gossip Headers 4 | when calling the GossipSendMenu option. 5 | 6 | All references to creature, npc_text, and broadcast_text will share the same 7 | number. For the Golbin NPC this will be 500000, for the Gnome NPC, this will be 500001. 8 | 9 | LUA is part of the mod-Faction-Free AzerothCore module hosted at: 10 | https://github.com/gitdalisar/mod-Faction-Free 11 | 12 | Maintained by GitDalisar 13 | ]]-- 14 | 15 | --This will correspond to the NPC you wish to use this LUA script with 16 | local creatureID = 500001 17 | 18 | --Main menu to go into the area of the map and type of instance you are looking for 19 | local function OnGossipHello(event, player, object) 20 | player:GossipMenuAddItem(0, "Capital Cities", 1, 100) 21 | player:GossipMenuAddItem(0, "Eastern Kingdom Dungeons", 1, 200) 22 | player:GossipMenuAddItem(0, "Eastern Kingdom Raids", 1, 300) 23 | player:GossipMenuAddItem(0, "Kalimdor Dungeons", 1, 400) 24 | player:GossipMenuAddItem(0, "Kalimdor Raids", 1, 500) 25 | player:GossipMenuAddItem(0, "Outland Dungeons", 1, 600) 26 | player:GossipMenuAddItem(0, "Outland Raids", 1, 700) 27 | player:GossipMenuAddItem(0, "Northrend Dungeons", 1, 800) 28 | player:GossipMenuAddItem(0, "Northrend Raids", 1, 900) 29 | player:GossipSendMenu(500001, object, MenuId) 30 | end 31 | 32 | --Sub menu options based on the above selection 33 | local function OnGossipSelect(event, player, object, sender, intid, code, menuid) 34 | if (intid == 100) then 35 | -- Capital Cities 36 | player:GossipMenuAddItem(0, "Dalaran", 1, intid + 1) -- Dalaran = 101 37 | player:GossipMenuAddItem(0, "Darnassus", 1, intid + 2) -- Darnassus = 102 38 | player:GossipMenuAddItem(0, "Exodar", 1, intid + 3) -- Exodar = 103 39 | player:GossipMenuAddItem(0, "Ironforge", 1, intid + 4) -- Ironforge = 104 40 | player:GossipMenuAddItem(0, "Orgrimmar", 1, intid + 5) -- Orgrimmar = 105 41 | player:GossipMenuAddItem(0, "Silvermoon", 1, intid + 6) -- Silvermoon = 106 42 | player:GossipMenuAddItem(0, "Shattrath", 1, intid + 7) -- Shattrath = 107 43 | player:GossipMenuAddItem(0, "Stormwind", 1, intid + 8) -- Stormwind = 108 44 | player:GossipMenuAddItem(0, "Thunder Bluff", 1, intid + 9) -- Thunder Bluff = 109 45 | player:GossipMenuAddItem(0, "Undercity", 1, intid + 10) -- Undercity = 110 46 | elseif (intid == 200) then 47 | -- Eastern Kingdom Dungeons 48 | player:GossipMenuAddItem(0, "Blackrock Depths - Blackrock Mountain", 1, intid + 1) -- Blackrock Depths = 201 49 | player:GossipMenuAddItem(0, "Blackrock Spire - Blackrock Mountain", 1, intid + 2) -- Blackrock Spire = 202 50 | player:GossipMenuAddItem(0, "Deadmines - Westfall", 1, intid + 3) -- Deadmines = 203 51 | player:GossipMenuAddItem(0, "Gnomeregan - Dun Morogh", 1, intid + 4) -- Gnomeregan = 204 52 | player:GossipMenuAddItem(0, "Scarlet Monastery - Tirisfal Glades", 1, intid + 5) -- Scarlet Monastery = 205 53 | player:GossipMenuAddItem(0, "Scholomance - Western Plaguelands", 1, intid + 6) -- Scholomance = 206 54 | player:GossipMenuAddItem(0, "Shadowfang Keep - Silverpine Forest", 1, intid + 7) -- Shadowfang Keep = 207 55 | player:GossipMenuAddItem(0, "Stockades - Stormwind City", 1, intid + 8) -- Stockades = 208 56 | player:GossipMenuAddItem(0, "Stratholme - Eastern Plaguelands", 1, intid + 9) -- Stratholme = 209 57 | player:GossipMenuAddItem(0, "Sunken Temple - Swamp of Sorrows", 1, intid + 10) -- Sunken Temple = 210 58 | player:GossipMenuAddItem(0, "Uldaman - Badlands", 1, intid + 11) -- Uldaman = 211 59 | elseif (intid == 300) then 60 | -- Eastern Kingdom Raids 61 | player:GossipMenuAddItem(0, "Blackwing Lair - Blackrock Mountain", 1, intid + 1) -- Blackwing Lair = 301 62 | player:GossipMenuAddItem(0, "Karazhan - Deadwind Pass", 1, intid + 2) -- Karazhan = 302 63 | player:GossipMenuAddItem(0, "Molten Core - Blackrock Mountain", 1, intid + 3) -- Molten Core = 303 64 | player:GossipMenuAddItem(0, "Zul'Gurub - Stranglethorn Vale", 1, intid + 4) -- Zul'Gurub = 304 65 | elseif (intid == 400) then 66 | -- Kalimdor Dungeons 67 | player:GossipMenuAddItem(0, "Black Morass - Caverns of Time (Tanaris)", 1, intid + 1) -- Black Morass = A 68 | player:GossipMenuAddItem(0, "Blackfathom Deeps - Ashenvale", 1, intid + 2) -- Blackfathom Deeps = A 69 | player:GossipMenuAddItem(0, "Culling of Stratholme - Caverns of Time (Tanaris)", 1, intid + 3) -- Culling of Stratholme = 403 70 | player:GossipMenuAddItem(0, "Dire Maul East - Feralas", 1, intid + 4) -- Dire Mau East = 404 71 | player:GossipMenuAddItem(0, "Dire Maul West - Feralas", 1, intid + 5) -- Dire Mau lWest = 405 72 | player:GossipMenuAddItem(0, "Dire Maul North - Feralas", 1, intid + 6) -- Dire Maul North = 406 73 | player:GossipMenuAddItem(0, "Maraudon - Desolace", 1, intid + 7) -- Maraudon = 407 74 | player:GossipMenuAddItem(0, "Old Hillsbrad Foothills - Caverns of Time (Tanaris)", 1, intid + 8) -- Old Hillsbrad Foothills = 408 75 | player:GossipMenuAddItem(0, "Ragefire Chasm - Orgrimmar", 1, intid + 9) -- Ragefire Chasm = 409 76 | player:GossipMenuAddItem(0, "Razorfen Downs - Southern Barrens", 1, intid + 10) -- Razorfen Downs = 410 77 | player:GossipMenuAddItem(0, "Razorfen Kraul - Southern Barrens", 1, intid + 11) -- Razorfen Kraul = 411 78 | player:GossipMenuAddItem(0, "Wailing Caverns - The Barrens", 1, intid + 12) -- Wailing Caverns = 412 79 | player:GossipMenuAddItem(0, "Zul'Farrak - Tanaris", 1, intid + 13) -- Zul'Farrak = 413 80 | elseif (intid == 500) then 81 | -- Kalimdor Raids 82 | player:GossipMenuAddItem(0, "Ahn'Qiraj - Silithus", 1, intid + 1) -- Ahn'Qiraj = 501 83 | player:GossipMenuAddItem(0, "Hyjal Summit - Caverns of Time (Tanaris)", 1, intid + 2) -- Hyjal Summit = 502 84 | player:GossipMenuAddItem(0, "Ruins of Ahn'Qiraj - Silithus", 1, intid + 3) -- Ruins of Ahn'Qiraj = 503 85 | elseif (intid == 600) then 86 | -- Outland Dungeons 87 | player:GossipMenuAddItem(0, "Arcatraz - Netherstorm", 1, intid + 1) -- Arcatraz Crypts = 601 88 | player:GossipMenuAddItem(0, "Auchenai Crypts - Terokkar Forest", 1, intid + 2) -- Auchenai Crypts = 602 89 | player:GossipMenuAddItem(0, "Blood Furnace - Hellfire Peninsula", 1, intid + 3) -- Blood Furnace = 603 90 | player:GossipMenuAddItem(0, "Botanica - Netherstorm", 1, intid + 4) -- Botanica = 604 91 | player:GossipMenuAddItem(0, "Hellfire Ramparts - Hellfire Peninsula", 1, intid + 5) -- Hellfire Ramparts = 605 92 | player:GossipMenuAddItem(0, "Magisters Terrace - Isle of Quel'Danas", 1, intid + 6) -- Magisters Terrace = 606 93 | player:GossipMenuAddItem(0, "Mana Tombs - Terokkar Forest", 1, intid + 7) -- Mana Tombs = 607 94 | player:GossipMenuAddItem(0, "Mechanar - Netherstorm", 1, intid + 8) -- Mechanar = 608 95 | player:GossipMenuAddItem(0, "Serpentshrine Cavern - Zangarmarsh", 1, intid + 9) -- Serpentshrine Cavern = 609 96 | player:GossipMenuAddItem(0, "Sethekk Halls - Terokkar Forest", 1, intid + 10) -- Sethekk Halls = 610 97 | player:GossipMenuAddItem(0, "Shadow Labyrinth - Terokkar Forest", 1, intid + 11) -- Shadow Labyrinth = 611 98 | player:GossipMenuAddItem(0, "Shattered Halls - Hellfire Peninsula", 1, intid + 12) -- Shattered Halls = 612 99 | player:GossipMenuAddItem(0, "Slave Pens - Zangarmarsh", 1, intid + 13) -- Slave Pens = 613 100 | player:GossipMenuAddItem(0, "Steamvault - Coilfang Reservoir (Zangarmarsh)", 1, intid + 14) -- Steamvault = 614 101 | player:GossipMenuAddItem(0, "Underbog - Coilfang Reservoir (Zangarmarsh)", 1, intid + 15) -- Underbog = 615 102 | elseif (intid == 700) then 103 | -- Outland Raids 104 | player:GossipMenuAddItem(0, "Black Temple - Shadowmoon Valley", 1, intid + 1) -- Black Temple = 701 105 | player:GossipMenuAddItem(0, "Gruul's Lair - Blade's Edge Mountains", 1, intid + 2) -- Gruul's Lair = 702 106 | player:GossipMenuAddItem(0, "Magtheridon's Lair - Hellfire Peninsula", 1, intid + 3) -- Magtheridon's Lair = 703 107 | player:GossipMenuAddItem(0, "Sunwell Plateau - Isle of Quel'Danas", 1, intid + 4) -- Sunwell Plateau = 704 108 | player:GossipMenuAddItem(0, "Tempest Keep - Netherstorm", 1, intid + 5) -- Tempest Keep = 705 109 | player:GossipMenuAddItem(0, "Zul'Aman - Ghostlands", 1, intid + 6) -- Zul'Aman = 706 110 | elseif (intid == 800) then 111 | -- Northrend Dungeons 112 | player:GossipMenuAddItem(0, "Ahn'Kahet - Dragonblight", 1, intid + 1) -- Ahn'Kahet = 801 113 | player:GossipMenuAddItem(0, "Azjol-Nerub - Dragonblight", 1, intid + 2) -- Azjol-Nerub = 802 114 | player:GossipMenuAddItem(0, "Drak'Tharon Keep - Grizzly Hills", 1, intid + 3) -- Drak'Tharon Keep = 803 115 | player:GossipMenuAddItem(0, "Gundrak - Zul'Drak", 1, intid + 4) -- Gundrak = 804 116 | player:GossipMenuAddItem(0, "Halls of Lightning - Storm Peaks", 1, intid + 5) -- Halls of Lightning = 805 117 | player:GossipMenuAddItem(0, "Halls of Reflection - Icecrown Citadel", 1, intid + 6) -- Halls of Reflection = 806 118 | player:GossipMenuAddItem(0, "Halls of Stone - Storm Peaks", 1, intid + 7) -- Halls of Stone = 807 119 | player:GossipMenuAddItem(0, "Nexus - Coldara (Borean Tundra)", 1, intid + 8) -- Nexus = 808 120 | player:GossipMenuAddItem(0, "Oculus - Coldara (Borean Tundra)", 1, intid + 9) -- Oculus = 809 121 | player:GossipMenuAddItem(0, "Pit of Saron - Icecrown Citadel", 1, intid + 10) -- Pit of Saron = 810 122 | player:GossipMenuAddItem(0, "Trial of the Champion - Icecrown Citadel", 1, intid + 11) -- Trial of the Champion = 811 123 | player:GossipMenuAddItem(0, "Utgarde Keep - Howling Fjord", 1, intid + 12) -- Utgarde Keep = 812 124 | player:GossipMenuAddItem(0, "Utgarde Pinnacle - Howling Fjord", 1, intid + 13) -- Utgarde Pinnacle = 803 125 | player:GossipMenuAddItem(0, "Violet Hold - Dalaran (Northrend)", 1, intid + 14) -- Violet Hold = 814 126 | elseif (intid == 900) then 127 | -- Northrend Raids 128 | player:GossipMenuAddItem(0, "Eye of Eternity - Coldara (Borean Tundra)", 1, intid + 1) -- EyeOfEternity = 901 129 | player:GossipMenuAddItem(0, "Icecrown Citadel - Icecrown", 1, intid + 2) -- IcecrownCitadelRaid = 902 130 | player:GossipMenuAddItem(0, "Naxxramas - Dragonblight", 1, intid + 3) -- Naxxramas = 903 131 | player:GossipMenuAddItem(0, "Obsidian Sanctum - Dragonblight", 1, intid + 4) -- ObsidianSanctum = 904 132 | player:GossipMenuAddItem(0, "Onyxia's Lair - Dustwallow Marsh", 1, intid + 5) -- OnyxiasLair = 905 133 | player:GossipMenuAddItem(0, "Ruby Sanctum - Dragonblight", 1, intid + 6) -- RubySanctum = 906 134 | player:GossipMenuAddItem(0, "Trial of the Champion - Icecrown", 1, intid + 7) -- TrialOfTheCrusader = 907 135 | player:GossipMenuAddItem(0, "Ulduar - Storm Peaks", 1, intid + 8) -- Ulduar = 908 136 | end 137 | player:GossipSendMenu(500003,object,MenuId) 138 | end 139 | 140 | --Tertiary sub menu that instead of presenting options will simply teleport the player 141 | local function OnGossipSelectTeleport(event, player, object, sender, intid, code, menuid) 142 | -- Capital Cities 143 | if (intid == 101) then 144 | player:Teleport(571, 5788.603, 472.3689, 657.658, 3.1) --Dalaran Faction-Free Teleporter Network Node 145 | elseif (intid == 102) then 146 | player:Teleport(1, 9870.397, 2496.041, 1315.8765, 3.1) --Darnassus Faction-Free Teleporter Network Node 147 | elseif (intid == 103) then 148 | player:Teleport(530, -4036.6772, -11807.044, 9.058392, 0.7) --Exodar Faction-Free Teleporter Network Node 149 | elseif (intid == 104) then 150 | player:Teleport(0, -4907.117, -932.803, 501.56082, 2.7) --Ironforge Faction-Free Teleporter Network Node 151 | elseif (intid == 105) then 152 | player:Teleport(1, 1660.9198, -4325.259, 61.936188, 3.1) --Orgrimmar Faction-Free Teleporter Network Node 153 | elseif (intid == 106) then 154 | player:Teleport(530, 9477.896, -7297.8223, 14.354342, 4.6) --Silvermoon Faction-Free Teleporter Network Node 155 | elseif (intid == 107) then 156 | player:Teleport(530, -1811.6487, 5289.13, -12.428035, 6.2) --Shattrath Faction-Free Teleporter Network Node 157 | elseif (intid == 108) then 158 | player:Teleport(0, -8842.421, 472.01294, 109.62057, 5.9) --Stormind Faction-Free Teleporter Network Node 159 | elseif (intid == 109) then 160 | player:Teleport(1, -1217.6161, 57.625187, 129.6397, 1) --Thunder Bluff Faction-Free Teleporter Network Node 161 | elseif (intid == 110) then 162 | player:Teleport(0, 1580.2351, 242.97531, -62.07735, 3.5) --Undercity Faction-Free Teleporter Network Node 163 | -- Eastern Kingdom Dungeons 164 | elseif (intid == 201) then 165 | player:Teleport(0, -7179.34, -921.212, 165.821, 5.09599) --Blackrock Depths 166 | elseif (intid == 202) then 167 | player:Teleport(0, -7527.05, -1226.77, 285.732, 5.29626) --Blackrock Spire 168 | elseif (intid == 203) then 169 | player:Teleport(0, -11208.7, 1673.52, 24.6361, 1.51067) --Deadmines 170 | elseif (intid == 204) then 171 | player:Teleport(0, -5163.54, 925.423, 257.181, 1.57423) --Gnomeregan 172 | elseif (intid == 205) then 173 | player:Teleport(0, 2872.6, -764.398, 160.332, 5.05735) --Scarlet Monastery 174 | elseif (intid == 206) then 175 | player:Teleport(0, 1269.64, -2556.21, 93.6088, 0.620623) --Scholomance 176 | elseif (intid == 207) then 177 | player:Teleport(0, -234.675, 1561.63, 76.8921, 1.24031) --Shadowfang Keep 178 | elseif (intid == 208) then 179 | player:Teleport(0, -8815.661, 805.7985, 98.6486, 0.7) --Stockades 180 | elseif (intid == 209) then 181 | player:Teleport(0, 3352.92, -3379.03, 144.782, 6.25978) --Stratholme 182 | elseif (intid == 210) then 183 | player:Teleport(0, -10177.9, -3994.9, -111.239, 6.01885) --Sunken Temple 184 | elseif (intid == 211) then 185 | player:Teleport(0, -6071.37, -2955.16, 209.782, 0.015708) --Uldaman 186 | -- Eastern Kingdom Raids 187 | elseif (intid == 301) then 188 | player:Teleport(0, -7656.0894, -1222.044, 287.7938 , 2.7) --Blackwing Lair 189 | elseif (intid == 302) then 190 | player:Teleport(0, -11118.9, -2010.33, 47.0819, 0.649895) --Karazhan 191 | elseif (intid == 303) then 192 | player:Teleport(230, 1126.64, -459.94, -102.535, 3.46095) --Molten Core 193 | elseif (intid == 304) then 194 | player:Teleport(0, -11916.7, -1215.72, 92.289, 4.72454) --Zul'Gurub 195 | -- Kalimdor Dungeons 196 | elseif (intid == 401) then 197 | player:Teleport(1, -8734.3, -4230.11, -209.5, 2.16212) --Black Morass 198 | elseif (intid == 402) then 199 | player:Teleport(1, 4249.99, 740.102, -25.671, 1.34062) --Blackfathom Deeps 200 | elseif (intid == 403) then 201 | player:Teleport(1, -8750.76, -4442.2, -199.26, 4.37694) --Culling of Stratholme 202 | elseif (intid == 404) then 203 | player:Teleport(1, -3980.8, 789.005, 161.007, 4.71945) --Dire Mau East 204 | elseif (intid == 405) then 205 | player:Teleport(1, -3828.01, 1250.22, 160.226, 3.20835) --Dire Mau lWest 206 | elseif (intid == 406) then 207 | player:Teleport(1, -3521.29, 1085.2, 161.097, 4.7281) --Dire Maul North 208 | elseif (intid == 407) then 209 | player:Teleport(1, -1419.13, 2908.14, 137.464, 1.57366) --Maraudon 210 | elseif (intid == 408) then 211 | player:Teleport(1, -8404.3, -4070.62, -208.586, 0.237038) --Old Hillsbrad Foothills 212 | elseif (intid == 409) then 213 | player:Teleport(1, 1811.78, -4410.5, -18.4704, 5.20165) --Ragefire Chasm 214 | elseif (intid == 410) then 215 | player:Teleport(1, -4657.3, -2519.35, 81.0529, 4.54808) --Razorfen Downs 216 | elseif (intid == 411) then 217 | player:Teleport(1, -4470.28, -1677.77, 81.3925, 1.16302) --Razorfen Kraul 218 | elseif (intid == 412) then 219 | player:Teleport(1, -804.5271, -2133.6702, 91.76987, 6.2) --Wailing Caverns 220 | elseif (intid == 413) then 221 | player:Teleport(1, -6801.19, -2893.02, 9.00388, 0.158639) --Zul'Farrak 222 | -- Kalimdor Raids 223 | elseif (intid == 501) then 224 | player:Teleport(1, -8248.499, 1982.7864, 129.0719, 1.3) --Ahn'Qiraj 225 | elseif (intid == 502) then 226 | player:Teleport(1, -8177.89, -4181.23, -167.552, 0.913338) --Hyjal Summit 227 | elseif (intid == 503) then 228 | player:Teleport(1, -8406.917, 1495.1635, 25.65622, 2.4) --Ruins of Ahn'Qiraj 229 | -- Outland Dungeons 230 | elseif (intid == 601) then 231 | player:Teleport(530, 3308.92, 1340.72, 505.56, 4.94686) --Arcatraz 232 | elseif (intid == 602) then 233 | player:Teleport(530, -3362.04, 5209.85, -101.05, 1.60924) --Auchenai Crypts 234 | elseif (intid == 603) then 235 | player:Teleport(530, -291.324, 3149.1, 31.5541, 2.27147) --Blood Furnace 236 | elseif (intid == 604) then 237 | player:Teleport(530, 3407.11, 1488.48, 182.838, 5.59559) --Botanica 238 | elseif (intid == 605) then 239 | player:Teleport(530, -360.671, 3071.9, -15.0977, 1.89389) --Hellfire Ramparts 240 | elseif (intid == 606) then 241 | player:Teleport(530, 12884.6, -7317.69, 65.5023, 4.799) --Magisters Terrace 242 | elseif (intid == 607) then 243 | player:Teleport(530, -3104.18, 4945.52, -101.507, 6.22344) --Mana Tombs 244 | elseif (intid == 608) then 245 | player:Teleport(530, 2867.12, 1549.42, 252.159, 3.82218) --Mechanar 246 | elseif (intid == 609) then 247 | player:Teleport(530, 820.025, 6864.93, -66.7556, 6.28127) --Serpentshrine Cavern 248 | elseif (intid == 610) then 249 | player:Teleport(530, -3362.2, 4664.12, -101.049, 4.6605) --Sethekk Halls 250 | elseif (intid == 611) then 251 | player:Teleport(530, -3627.9, 4941.98, -101.049, 3.16039) --Shadow Labyrinth 252 | elseif (intid == 612) then 253 | player:Teleport(530, -305.79, 3061.63, -2.53847, 1.88888) --Shattered Halls 254 | elseif (intid == 613) then 255 | player:Teleport(530, 717.282, 6979.87, -73.0281, 1.50287) --Slave Pens 256 | elseif (intid == 614) then 257 | player:Teleport(530, 794.537, 6927.81, -80.4757, 0.159089) --Steamvault 258 | elseif (intid == 615) then 259 | player:Teleport(530, 763.307, 6767.81, -67.7695, 5.99726) --Underbog 260 | -- Outland Raids 261 | elseif (intid == 701) then 262 | player:Teleport(530, -3649.92, 317.469, 35.2827, 2.94285) --Black Temple 263 | elseif (intid == 702) then 264 | player:Teleport(530, 3530.06, 5104.08, 3.50861, 5.51117) --Gruul's Lair 265 | elseif (intid == 703) then 266 | player:Teleport(530, -312.7, 3087.26, -116.52, 5.19026) --Magtheridon's Lair 267 | elseif (intid == 704) then 268 | player:Teleport(530, 12574.1, -6774.81, 15.0904, 3.13788) --Sunwell Plateau 269 | elseif (intid == 705) then 270 | player:Teleport(530, 3099.36, 1518.73, 190.3, 4.72592) --Tempest Keep 271 | elseif (intid == 706) then 272 | player:Teleport(530, 6851.78, -7972.57, 179.242, 4.64691) --Zul'Aman 273 | -- Northrend Dungeons 274 | elseif (intid == 801) then 275 | player:Teleport(571, 3643.31, 2036.51, 1.78742, 4.33919) --Ahn'Kahet 276 | elseif (intid == 802) then 277 | player:Teleport(571, 3677.53, 2166.7, 35.808, 2.30108) --Azjol-Nerub 278 | elseif (intid == 803) then 279 | player:Teleport(571, 4774.6, -2032.92, 229.15, 1.59) --Drak'Tharon Keep 280 | elseif (intid == 804) then 281 | player:Teleport(571, 6898.72, -4584.94, 451.12, 2.34455) --Gundrak 282 | elseif (intid == 805) then 283 | player:Teleport(571, 9182.92, -1384.82, 1110.21, 5.57779) --Halls of Lightning 284 | elseif (intid == 806) then 285 | player:Teleport(571, 5630.44, 1994.01, 798.059, 4.58756) --Halls of Reflection 286 | elseif (intid == 807) then 287 | player:Teleport(571, 8921.91, -993.503, 1039.41, 1.55263) --Halls of Stone 288 | elseif (intid == 808) then 289 | player:Teleport(571, 3781.81, 6953.65, 104.82, 0.467432) --Nexus 290 | elseif (intid == 809) then 291 | player:Teleport(571, 3879.96, 6984.62, 106.312, 3.19669) --Oculus 292 | elseif (intid == 810) then 293 | player:Teleport(571, 5598.74, 2015.85, 798.042, 3.81001) --Pit of Saron 294 | elseif (intid == 811) then 295 | player:Teleport(571, 8588.42, 791.888, 558.236, 3.23819) --Trial of the Champion 296 | elseif (intid == 812) then 297 | player:Teleport(571, 1219.72, -4865.28, 41.2479, 0.313228) --Utgarde Keep 298 | elseif (intid == 813) then 299 | player:Teleport(571, 1259.33, -4852.02, 215.763, 3.48293) --Utgarde Pinnacle 300 | elseif (intid == 814) then 301 | player:Teleport(571, 5696.73, 507.4, 652.97, 4.03) --Violet Hold 302 | -- Northrend Raids 303 | elseif (intid == 901) then 304 | player:Teleport(571, 3859.44, 6989.85, 152.041, 5.79635) --Eye Of Eternity 305 | elseif (intid == 902) then 306 | player:Teleport(571, 5873.82, 2110.98, 636.011, 3.5523) --Icecrown Citadel 307 | elseif (intid == 903) then 308 | player:Teleport(571, 3668.72, -1262.46, 243.622, 4.785) --Naxxramas 309 | elseif (intid == 904) then 310 | player:Teleport(571, 3457.11, 262.394, -113.819, 3.28258) --Obsidian Sanctum 311 | elseif (intid == 905) then 312 | player:Teleport(1, -4708.27, -3727.64, 54.5589, 3.72786) --Onyxia's Lair 313 | elseif (intid == 906) then 314 | player:Teleport(571, 3600.5, 197.34, -113.76, 5.29905) --Ruby Sanctum 315 | elseif (intid == 907) then 316 | player:Teleport(571, 8515.68, 716.982, 558.248, 1.57315) --Trial of the Crusader 317 | elseif (intid == 908) then 318 | player:Teleport(571, 9049.37, -1282.35, 1060.19, 5.8395) --Ulduar 319 | end 320 | end 321 | 322 | --Register the three Gossip Events to call them appropriately 323 | RegisterCreatureGossipEvent(creatureID, 1, OnGossipHello) 324 | RegisterCreatureGossipEvent(creatureID, 2, OnGossipSelect) 325 | RegisterCreatureGossipEvent(creatureID, 2, OnGossipSelectTeleport) -------------------------------------------------------------------------------- /lua/FactionFreeTeleports_Goblin.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Teleport LUA for the Faction Free Module. This will map to the goblin NPC 3 | so that the menu items can correspond to their different npc_text Gossip Headers 4 | when calling the GossipSendMenu option. 5 | 6 | All references to creature, npc_text, and broadcast_text will share the same 7 | number. For the Golbin NPC this will be 500000, for the Gnome NPC, this will be 500001. 8 | 9 | LUA is part of the mod-Faction-Free AzerothCore module hosted at: 10 | https://github.com/gitdalisar/mod-Faction-Free 11 | 12 | Maintained by GitDalisar 13 | ]]-- 14 | 15 | --This will correspond to the NPC you wish to use this LUA script with 16 | local creatureID = 500000 17 | 18 | --Main menu to go into the area of the map and type of instance you are looking for 19 | local function OnGossipHello(event, player, object) 20 | player:GossipMenuAddItem(0, "Capital Cities", 1, 100) 21 | player:GossipMenuAddItem(0, "Eastern Kingdom Dungeons", 1, 200) 22 | player:GossipMenuAddItem(0, "Eastern Kingdom Raids", 1, 300) 23 | player:GossipMenuAddItem(0, "Kalimdor Dungeons", 1, 400) 24 | player:GossipMenuAddItem(0, "Kalimdor Raids", 1, 500) 25 | player:GossipMenuAddItem(0, "Outland Dungeons", 1, 600) 26 | player:GossipMenuAddItem(0, "Outland Raids", 1, 700) 27 | player:GossipMenuAddItem(0, "Northrend Dungeons", 1, 800) 28 | player:GossipMenuAddItem(0, "Northrend Raids", 1, 900) 29 | player:GossipSendMenu(500000, object, MenuId) 30 | end 31 | 32 | --Sub menu options based on the above selection 33 | local function OnGossipSelect(event, player, object, sender, intid, code, menuid) 34 | if (intid == 100) then 35 | -- Capital Cities 36 | player:GossipMenuAddItem(0, "Dalaran", 1, intid + 1) -- Dalaran = 101 37 | player:GossipMenuAddItem(0, "Darnassus", 1, intid + 2) -- Darnassus = 102 38 | player:GossipMenuAddItem(0, "Exodar", 1, intid + 3) -- Exodar = 103 39 | player:GossipMenuAddItem(0, "Ironforge", 1, intid + 4) -- Ironforge = 104 40 | player:GossipMenuAddItem(0, "Orgrimmar", 1, intid + 5) -- Orgrimmar = 105 41 | player:GossipMenuAddItem(0, "Silvermoon", 1, intid + 6) -- Silvermoon = 106 42 | player:GossipMenuAddItem(0, "Shattrath", 1, intid + 7) -- Shattrath = 107 43 | player:GossipMenuAddItem(0, "Stormwind", 1, intid + 8) -- Stormwind = 108 44 | player:GossipMenuAddItem(0, "Thunder Bluff", 1, intid + 9) -- Thunder Bluff = 109 45 | player:GossipMenuAddItem(0, "Undercity", 1, intid + 10) -- Undercity = 110 46 | elseif (intid == 200) then 47 | -- Eastern Kingdom Dungeons 48 | player:GossipMenuAddItem(0, "Blackrock Depths - Blackrock Mountain", 1, intid + 1) -- Blackrock Depths = 201 49 | player:GossipMenuAddItem(0, "Blackrock Spire - Blackrock Mountain", 1, intid + 2) -- Blackrock Spire = 202 50 | player:GossipMenuAddItem(0, "Deadmines - Westfall", 1, intid + 3) -- Deadmines = 203 51 | player:GossipMenuAddItem(0, "Gnomeregan - Dun Morogh", 1, intid + 4) -- Gnomeregan = 204 52 | player:GossipMenuAddItem(0, "Scarlet Monastery - Tirisfal Glades", 1, intid + 5) -- Scarlet Monastery = 205 53 | player:GossipMenuAddItem(0, "Scholomance - Western Plaguelands", 1, intid + 6) -- Scholomance = 206 54 | player:GossipMenuAddItem(0, "Shadowfang Keep - Silverpine Forest", 1, intid + 7) -- Shadowfang Keep = 207 55 | player:GossipMenuAddItem(0, "Stockades - Stormwind City", 1, intid + 8) -- Stockades = 208 56 | player:GossipMenuAddItem(0, "Stratholme - Eastern Plaguelands", 1, intid + 9) -- Stratholme = 209 57 | player:GossipMenuAddItem(0, "Sunken Temple - Swamp of Sorrows", 1, intid + 10) -- Sunken Temple = 210 58 | player:GossipMenuAddItem(0, "Uldaman - Badlands", 1, intid + 11) -- Uldaman = 211 59 | elseif (intid == 300) then 60 | -- Eastern Kingdom Raids 61 | player:GossipMenuAddItem(0, "Blackwing Lair - Blackrock Mountain", 1, intid + 1) -- Blackwing Lair = 301 62 | player:GossipMenuAddItem(0, "Karazhan - Deadwind Pass", 1, intid + 2) -- Karazhan = 302 63 | player:GossipMenuAddItem(0, "Molten Core - Blackrock Mountain", 1, intid + 3) -- Molten Core = 303 64 | player:GossipMenuAddItem(0, "Zul'Gurub - Stranglethorn Vale", 1, intid + 4) -- Zul'Gurub = 304 65 | elseif (intid == 400) then 66 | -- Kalimdor Dungeons 67 | player:GossipMenuAddItem(0, "Black Morass - Caverns of Time (Tanaris)", 1, intid + 1) -- Black Morass = A 68 | player:GossipMenuAddItem(0, "Blackfathom Deeps - Ashenvale", 1, intid + 2) -- Blackfathom Deeps = A 69 | player:GossipMenuAddItem(0, "Culling of Stratholme - Caverns of Time (Tanaris)", 1, intid + 3) -- Culling of Stratholme = 403 70 | player:GossipMenuAddItem(0, "Dire Maul East - Feralas", 1, intid + 4) -- Dire Mau East = 404 71 | player:GossipMenuAddItem(0, "Dire Maul West - Feralas", 1, intid + 5) -- Dire Mau lWest = 405 72 | player:GossipMenuAddItem(0, "Dire Maul North - Feralas", 1, intid + 6) -- Dire Maul North = 406 73 | player:GossipMenuAddItem(0, "Maraudon - Desolace", 1, intid + 7) -- Maraudon = 407 74 | player:GossipMenuAddItem(0, "Old Hillsbrad Foothills - Caverns of Time (Tanaris)", 1, intid + 8) -- Old Hillsbrad Foothills = 408 75 | player:GossipMenuAddItem(0, "Ragefire Chasm - Orgrimmar", 1, intid + 9) -- Ragefire Chasm = 409 76 | player:GossipMenuAddItem(0, "Razorfen Downs - Southern Barrens", 1, intid + 10) -- Razorfen Downs = 410 77 | player:GossipMenuAddItem(0, "Razorfen Kraul - Southern Barrens", 1, intid + 11) -- Razorfen Kraul = 411 78 | player:GossipMenuAddItem(0, "Wailing Caverns - The Barrens", 1, intid + 12) -- Wailing Caverns = 412 79 | player:GossipMenuAddItem(0, "Zul'Farrak - Tanaris", 1, intid + 13) -- Zul'Farrak = 413 80 | elseif (intid == 500) then 81 | -- Kalimdor Raids 82 | player:GossipMenuAddItem(0, "Ahn'Qiraj - Silithus", 1, intid + 1) -- Ahn'Qiraj = 501 83 | player:GossipMenuAddItem(0, "Hyjal Summit - Caverns of Time (Tanaris)", 1, intid + 2) -- Hyjal Summit = 502 84 | player:GossipMenuAddItem(0, "Ruins of Ahn'Qiraj - Silithus", 1, intid + 3) -- Ruins of Ahn'Qiraj = 503 85 | elseif (intid == 600) then 86 | -- Outland Dungeons 87 | player:GossipMenuAddItem(0, "Arcatraz - Netherstorm", 1, intid + 1) -- Arcatraz Crypts = 601 88 | player:GossipMenuAddItem(0, "Auchenai Crypts - Terokkar Forest", 1, intid + 2) -- Auchenai Crypts = 602 89 | player:GossipMenuAddItem(0, "Blood Furnace - Hellfire Peninsula", 1, intid + 3) -- Blood Furnace = 603 90 | player:GossipMenuAddItem(0, "Botanica - Netherstorm", 1, intid + 4) -- Botanica = 604 91 | player:GossipMenuAddItem(0, "Hellfire Ramparts - Hellfire Peninsula", 1, intid + 5) -- Hellfire Ramparts = 605 92 | player:GossipMenuAddItem(0, "Magisters Terrace - Isle of Quel'Danas", 1, intid + 6) -- Magisters Terrace = 606 93 | player:GossipMenuAddItem(0, "Mana Tombs - Terokkar Forest", 1, intid + 7) -- Mana Tombs = 607 94 | player:GossipMenuAddItem(0, "Mechanar - Netherstorm", 1, intid + 8) -- Mechanar = 608 95 | player:GossipMenuAddItem(0, "Serpentshrine Cavern - Zangarmarsh", 1, intid + 9) -- Serpentshrine Cavern = 609 96 | player:GossipMenuAddItem(0, "Sethekk Halls - Terokkar Forest", 1, intid + 10) -- Sethekk Halls = 610 97 | player:GossipMenuAddItem(0, "Shadow Labyrinth - Terokkar Forest", 1, intid + 11) -- Shadow Labyrinth = 611 98 | player:GossipMenuAddItem(0, "Shattered Halls - Hellfire Peninsula", 1, intid + 12) -- Shattered Halls = 612 99 | player:GossipMenuAddItem(0, "Slave Pens - Zangarmarsh", 1, intid + 13) -- Slave Pens = 613 100 | player:GossipMenuAddItem(0, "Steamvault - Coilfang Reservoir (Zangarmarsh)", 1, intid + 14) -- Steamvault = 614 101 | player:GossipMenuAddItem(0, "Underbog - Coilfang Reservoir (Zangarmarsh)", 1, intid + 15) -- Underbog = 615 102 | elseif (intid == 700) then 103 | -- Outland Raids 104 | player:GossipMenuAddItem(0, "Black Temple - Shadowmoon Valley", 1, intid + 1) -- Black Temple = 701 105 | player:GossipMenuAddItem(0, "Gruul's Lair - Blade's Edge Mountains", 1, intid + 2) -- Gruul's Lair = 702 106 | player:GossipMenuAddItem(0, "Magtheridon's Lair - Hellfire Peninsula", 1, intid + 3) -- Magtheridon's Lair = 703 107 | player:GossipMenuAddItem(0, "Sunwell Plateau - Isle of Quel'Danas", 1, intid + 4) -- Sunwell Plateau = 704 108 | player:GossipMenuAddItem(0, "Tempest Keep - Netherstorm", 1, intid + 5) -- Tempest Keep = 705 109 | player:GossipMenuAddItem(0, "Zul'Aman - Ghostlands", 1, intid + 6) -- Zul'Aman = 706 110 | elseif (intid == 800) then 111 | -- Northrend Dungeons 112 | player:GossipMenuAddItem(0, "Ahn'Kahet - Dragonblight", 1, intid + 1) -- Ahn'Kahet = 801 113 | player:GossipMenuAddItem(0, "Azjol-Nerub - Dragonblight", 1, intid + 2) -- Azjol-Nerub = 802 114 | player:GossipMenuAddItem(0, "Drak'Tharon Keep - Grizzly Hills", 1, intid + 3) -- Drak'Tharon Keep = 803 115 | player:GossipMenuAddItem(0, "Gundrak - Zul'Drak", 1, intid + 4) -- Gundrak = 804 116 | player:GossipMenuAddItem(0, "Halls of Lightning - Storm Peaks", 1, intid + 5) -- Halls of Lightning = 805 117 | player:GossipMenuAddItem(0, "Halls of Reflection - Icecrown Citadel", 1, intid + 6) -- Halls of Reflection = 806 118 | player:GossipMenuAddItem(0, "Halls of Stone - Storm Peaks", 1, intid + 7) -- Halls of Stone = 807 119 | player:GossipMenuAddItem(0, "Nexus - Coldara (Borean Tundra)", 1, intid + 8) -- Nexus = 808 120 | player:GossipMenuAddItem(0, "Oculus - Coldara (Borean Tundra)", 1, intid + 9) -- Oculus = 809 121 | player:GossipMenuAddItem(0, "Pit of Saron - Icecrown Citadel", 1, intid + 10) -- Pit of Saron = 810 122 | player:GossipMenuAddItem(0, "Trial of the Champion - Icecrown Citadel", 1, intid + 11) -- Trial of the Champion = 811 123 | player:GossipMenuAddItem(0, "Utgarde Keep - Howling Fjord", 1, intid + 12) -- Utgarde Keep = 812 124 | player:GossipMenuAddItem(0, "Utgarde Pinnacle - Howling Fjord", 1, intid + 13) -- Utgarde Pinnacle = 803 125 | player:GossipMenuAddItem(0, "Violet Hold - Dalaran (Northrend)", 1, intid + 14) -- Violet Hold = 814 126 | elseif (intid == 900) then 127 | -- Northrend Raids 128 | player:GossipMenuAddItem(0, "Eye of Eternity - Coldara (Borean Tundra)", 1, intid + 1) -- EyeOfEternity = 901 129 | player:GossipMenuAddItem(0, "Icecrown Citadel - Icecrown", 1, intid + 2) -- IcecrownCitadelRaid = 902 130 | player:GossipMenuAddItem(0, "Naxxramas - Dragonblight", 1, intid + 3) -- Naxxramas = 903 131 | player:GossipMenuAddItem(0, "Obsidian Sanctum - Dragonblight", 1, intid + 4) -- ObsidianSanctum = 904 132 | player:GossipMenuAddItem(0, "Onyxia's Lair - Dustwallow Marsh", 1, intid + 5) -- OnyxiasLair = 905 133 | player:GossipMenuAddItem(0, "Ruby Sanctum - Dragonblight", 1, intid + 6) -- RubySanctum = 906 134 | player:GossipMenuAddItem(0, "Trial of the Champion - Icecrown", 1, intid + 7) -- TrialOfTheCrusader = 907 135 | player:GossipMenuAddItem(0, "Ulduar - Storm Peaks", 1, intid + 8) -- Ulduar = 908 136 | end 137 | player:GossipSendMenu(500003,object,MenuId) 138 | end 139 | 140 | --Tertiary sub menu that instead of presenting options will simply teleport the player 141 | local function OnGossipSelectTeleport(event, player, object, sender, intid, code, menuid) 142 | -- Capital Cities 143 | if (intid == 101) then 144 | player:Teleport(571, 5788.603, 472.3689, 657.658, 3.1) --Dalaran Faction-Free Teleporter Network Node 145 | elseif (intid == 102) then 146 | player:Teleport(1, 9870.397, 2496.041, 1315.8765, 3.1) --Darnassus Faction-Free Teleporter Network Node 147 | elseif (intid == 103) then 148 | player:Teleport(530, -4036.6772, -11807.044, 9.058392, 0.7) --Exodar Faction-Free Teleporter Network Node 149 | elseif (intid == 104) then 150 | player:Teleport(0, -4907.117, -932.803, 501.56082, 2.7) --Ironforge Faction-Free Teleporter Network Node 151 | elseif (intid == 105) then 152 | player:Teleport(1, 1660.9198, -4325.259, 61.936188, 3.1) --Orgrimmar Faction-Free Teleporter Network Node 153 | elseif (intid == 106) then 154 | player:Teleport(530, 9477.896, -7297.8223, 14.354342, 4.6) --Silvermoon Faction-Free Teleporter Network Node 155 | elseif (intid == 107) then 156 | player:Teleport(530, -1811.6487, 5289.13, -12.428035, 6.2) --Shattrath Faction-Free Teleporter Network Node 157 | elseif (intid == 108) then 158 | player:Teleport(0, -8842.421, 472.01294, 109.62057, 5.9) --Stormind Faction-Free Teleporter Network Node 159 | elseif (intid == 109) then 160 | player:Teleport(1, -1217.6161, 57.625187, 129.6397, 1) --Thunder Bluff Faction-Free Teleporter Network Node 161 | elseif (intid == 110) then 162 | player:Teleport(0, 1580.2351, 242.97531, -62.07735, 3.5) --Undercity Faction-Free Teleporter Network Node 163 | -- Eastern Kingdom Dungeons 164 | elseif (intid == 201) then 165 | player:Teleport(0, -7179.34, -921.212, 165.821, 5.09599) --Blackrock Depths 166 | elseif (intid == 202) then 167 | player:Teleport(0, -7527.05, -1226.77, 285.732, 5.29626) --Blackrock Spire 168 | elseif (intid == 203) then 169 | player:Teleport(0, -11208.7, 1673.52, 24.6361, 1.51067) --Deadmines 170 | elseif (intid == 204) then 171 | player:Teleport(0, -5163.54, 925.423, 257.181, 1.57423) --Gnomeregan 172 | elseif (intid == 205) then 173 | player:Teleport(0, 2872.6, -764.398, 160.332, 5.05735) --Scarlet Monastery 174 | elseif (intid == 206) then 175 | player:Teleport(0, 1269.64, -2556.21, 93.6088, 0.620623) --Scholomance 176 | elseif (intid == 207) then 177 | player:Teleport(0, -234.675, 1561.63, 76.8921, 1.24031) --Shadowfang Keep 178 | elseif (intid == 208) then 179 | player:Teleport(0, -8815.661, 805.7985, 98.6486, 0.7) --Stockades 180 | elseif (intid == 209) then 181 | player:Teleport(0, 3352.92, -3379.03, 144.782, 6.25978) --Stratholme 182 | elseif (intid == 210) then 183 | player:Teleport(0, -10177.9, -3994.9, -111.239, 6.01885) --Sunken Temple 184 | elseif (intid == 211) then 185 | player:Teleport(0, -6071.37, -2955.16, 209.782, 0.015708) --Uldaman 186 | -- Eastern Kingdom Raids 187 | elseif (intid == 301) then 188 | player:Teleport(0, -7656.0894, -1222.044, 287.7938 , 2.7) --Blackwing Lair 189 | elseif (intid == 302) then 190 | player:Teleport(0, -11118.9, -2010.33, 47.0819, 0.649895) --Karazhan 191 | elseif (intid == 303) then 192 | player:Teleport(230, 1126.64, -459.94, -102.535, 3.46095) --Molten Core 193 | elseif (intid == 304) then 194 | player:Teleport(0, -11916.7, -1215.72, 92.289, 4.72454) --Zul'Gurub 195 | -- Kalimdor Dungeons 196 | elseif (intid == 401) then 197 | player:Teleport(1, -8734.3, -4230.11, -209.5, 2.16212) --Black Morass 198 | elseif (intid == 402) then 199 | player:Teleport(1, 4249.99, 740.102, -25.671, 1.34062) --Blackfathom Deeps 200 | elseif (intid == 403) then 201 | player:Teleport(1, -8750.76, -4442.2, -199.26, 4.37694) --Culling of Stratholme 202 | elseif (intid == 404) then 203 | player:Teleport(1, -3980.8, 789.005, 161.007, 4.71945) --Dire Mau East 204 | elseif (intid == 405) then 205 | player:Teleport(1, -3828.01, 1250.22, 160.226, 3.20835) --Dire Mau lWest 206 | elseif (intid == 406) then 207 | player:Teleport(1, -3521.29, 1085.2, 161.097, 4.7281) --Dire Maul North 208 | elseif (intid == 407) then 209 | player:Teleport(1, -1419.13, 2908.14, 137.464, 1.57366) --Maraudon 210 | elseif (intid == 408) then 211 | player:Teleport(1, -8404.3, -4070.62, -208.586, 0.237038) --Old Hillsbrad Foothills 212 | elseif (intid == 409) then 213 | player:Teleport(1, 1811.78, -4410.5, -18.4704, 5.20165) --Ragefire Chasm 214 | elseif (intid == 410) then 215 | player:Teleport(1, -4657.3, -2519.35, 81.0529, 4.54808) --Razorfen Downs 216 | elseif (intid == 411) then 217 | player:Teleport(1, -4470.28, -1677.77, 81.3925, 1.16302) --Razorfen Kraul 218 | elseif (intid == 412) then 219 | player:Teleport(1, -804.5271, -2133.6702, 91.76987, 6.2) --Wailing Caverns 220 | elseif (intid == 413) then 221 | player:Teleport(1, -6801.19, -2893.02, 9.00388, 0.158639) --Zul'Farrak 222 | -- Kalimdor Raids 223 | elseif (intid == 501) then 224 | player:Teleport(1, -8248.499, 1982.7864, 129.0719, 1.3) --Ahn'Qiraj 225 | elseif (intid == 502) then 226 | player:Teleport(1, -8177.89, -4181.23, -167.552, 0.913338) --Hyjal Summit 227 | elseif (intid == 503) then 228 | player:Teleport(1, -8406.917, 1495.1635, 25.65622, 2.4) --Ruins of Ahn'Qiraj 229 | -- Outland Dungeons 230 | elseif (intid == 601) then 231 | player:Teleport(530, 3308.92, 1340.72, 505.56, 4.94686) --Arcatraz 232 | elseif (intid == 602) then 233 | player:Teleport(530, -3362.04, 5209.85, -101.05, 1.60924) --Auchenai Crypts 234 | elseif (intid == 603) then 235 | player:Teleport(530, -291.324, 3149.1, 31.5541, 2.27147) --Blood Furnace 236 | elseif (intid == 604) then 237 | player:Teleport(530, 3407.11, 1488.48, 182.838, 5.59559) --Botanica 238 | elseif (intid == 605) then 239 | player:Teleport(530, -360.671, 3071.9, -15.0977, 1.89389) --Hellfire Ramparts 240 | elseif (intid == 606) then 241 | player:Teleport(530, 12884.6, -7317.69, 65.5023, 4.799) --Magisters Terrace 242 | elseif (intid == 607) then 243 | player:Teleport(530, -3104.18, 4945.52, -101.507, 6.22344) --Mana Tombs 244 | elseif (intid == 608) then 245 | player:Teleport(530, 2867.12, 1549.42, 252.159, 3.82218) --Mechanar 246 | elseif (intid == 609) then 247 | player:Teleport(530, 820.025, 6864.93, -66.7556, 6.28127) --Serpentshrine Cavern 248 | elseif (intid == 610) then 249 | player:Teleport(530, -3362.2, 4664.12, -101.049, 4.6605) --Sethekk Halls 250 | elseif (intid == 611) then 251 | player:Teleport(530, -3627.9, 4941.98, -101.049, 3.16039) --Shadow Labyrinth 252 | elseif (intid == 612) then 253 | player:Teleport(530, -305.79, 3061.63, -2.53847, 1.88888) --Shattered Halls 254 | elseif (intid == 613) then 255 | player:Teleport(530, 717.282, 6979.87, -73.0281, 1.50287) --Slave Pens 256 | elseif (intid == 614) then 257 | player:Teleport(530, 794.537, 6927.81, -80.4757, 0.159089) --Steamvault 258 | elseif (intid == 615) then 259 | player:Teleport(530, 763.307, 6767.81, -67.7695, 5.99726) --Underbog 260 | -- Outland Raids 261 | elseif (intid == 701) then 262 | player:Teleport(530, -3649.92, 317.469, 35.2827, 2.94285) --Black Temple 263 | elseif (intid == 702) then 264 | player:Teleport(530, 3530.06, 5104.08, 3.50861, 5.51117) --Gruul's Lair 265 | elseif (intid == 703) then 266 | player:Teleport(530, -312.7, 3087.26, -116.52, 5.19026) --Magtheridon's Lair 267 | elseif (intid == 704) then 268 | player:Teleport(530, 12574.1, -6774.81, 15.0904, 3.13788) --Sunwell Plateau 269 | elseif (intid == 705) then 270 | player:Teleport(530, 3099.36, 1518.73, 190.3, 4.72592) --Tempest Keep 271 | elseif (intid == 706) then 272 | player:Teleport(530, 6851.78, -7972.57, 179.242, 4.64691) --Zul'Aman 273 | -- Northrend Dungeons 274 | elseif (intid == 801) then 275 | player:Teleport(571, 3643.31, 2036.51, 1.78742, 4.33919) --Ahn'Kahet 276 | elseif (intid == 802) then 277 | player:Teleport(571, 3677.53, 2166.7, 35.808, 2.30108) --Azjol-Nerub 278 | elseif (intid == 803) then 279 | player:Teleport(571, 4774.6, -2032.92, 229.15, 1.59) --Drak'Tharon Keep 280 | elseif (intid == 804) then 281 | player:Teleport(571, 6898.72, -4584.94, 451.12, 2.34455) --Gundrak 282 | elseif (intid == 805) then 283 | player:Teleport(571, 9182.92, -1384.82, 1110.21, 5.57779) --Halls of Lightning 284 | elseif (intid == 806) then 285 | player:Teleport(571, 5630.44, 1994.01, 798.059, 4.58756) --Halls of Reflection 286 | elseif (intid == 807) then 287 | player:Teleport(571, 8921.91, -993.503, 1039.41, 1.55263) --Halls of Stone 288 | elseif (intid == 808) then 289 | player:Teleport(571, 3781.81, 6953.65, 104.82, 0.467432) --Nexus 290 | elseif (intid == 809) then 291 | player:Teleport(571, 3879.96, 6984.62, 106.312, 3.19669) --Oculus 292 | elseif (intid == 810) then 293 | player:Teleport(571, 5598.74, 2015.85, 798.042, 3.81001) --Pit of Saron 294 | elseif (intid == 811) then 295 | player:Teleport(571, 8588.42, 791.888, 558.236, 3.23819) --Trial of the Champion 296 | elseif (intid == 812) then 297 | player:Teleport(571, 1219.72, -4865.28, 41.2479, 0.313228) --Utgarde Keep 298 | elseif (intid == 813) then 299 | player:Teleport(571, 1259.33, -4852.02, 215.763, 3.48293) --Utgarde Pinnacle 300 | elseif (intid == 814) then 301 | player:Teleport(571, 5696.73, 507.4, 652.97, 4.03) --Violet Hold 302 | -- Northrend Raids 303 | elseif (intid == 901) then 304 | player:Teleport(571, 3859.44, 6989.85, 152.041, 5.79635) --Eye Of Eternity 305 | elseif (intid == 902) then 306 | player:Teleport(571, 5873.82, 2110.98, 636.011, 3.5523) --Icecrown Citadel 307 | elseif (intid == 903) then 308 | player:Teleport(571, 3668.72, -1262.46, 243.622, 4.785) --Naxxramas 309 | elseif (intid == 904) then 310 | player:Teleport(571, 3457.11, 262.394, -113.819, 3.28258) --Obsidian Sanctum 311 | elseif (intid == 905) then 312 | player:Teleport(1, -4708.27, -3727.64, 54.5589, 3.72786) --Onyxia's Lair 313 | elseif (intid == 906) then 314 | player:Teleport(571, 3600.5, 197.34, -113.76, 5.29905) --Ruby Sanctum 315 | elseif (intid == 907) then 316 | player:Teleport(571, 8515.68, 716.982, 558.248, 1.57315) --Trial of the Crusader 317 | elseif (intid == 908) then 318 | player:Teleport(571, 9049.37, -1282.35, 1060.19, 5.8395) --Ulduar 319 | end 320 | end 321 | 322 | --Register the three Gossip Events to call them appropriately 323 | RegisterCreatureGossipEvent(creatureID, 1, OnGossipHello) 324 | RegisterCreatureGossipEvent(creatureID, 2, OnGossipSelect) 325 | RegisterCreatureGossipEvent(creatureID, 2, OnGossipSelectTeleport) -------------------------------------------------------------------------------- /mpq/Patch-F.mpq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gitdalisar/mod-Faction-Free/d735e482877d5fb39ee5cf9fd81570405d59f372/mpq/Patch-F.mpq -------------------------------------------------------------------------------- /sql/world/EntryChecker_RUN_FIRST.sql: -------------------------------------------------------------------------------- 1 | /* 2 | This SQL script is part of the mod-Faction-Free AzerothCore module hosted at: 3 | https://github.com/gitdalisar/mod-Faction-Free 4 | 5 | Maintained by GitDalisar 6 | 7 | This script is designed to check for any exisisting gameobjects, npcs, or texts that may already be in use. 8 | If you get a result from any of these queries, you will need to modify the FactionFree.sql script to use 9 | different numbers to avoid conflict. 10 | 11 | To run this script: 12 | 1. Ensure that you are logged into MySQL Database 13 | 2. Change to the acore_world database with: USE acore_world; 14 | 3. Run this using this command: SOURCE ; 15 | */ 16 | 17 | 18 | /*Check to see if entry 500000 and 500001 are free to add the creature templates for the Teleport Network*/ 19 | SELECT `entry`, `name`, `subname`, `faction`, `npcflag` FROM `acore_world`.`creature_template` WHERE `entry` IN (500000, 500001); 20 | /*Check to see if GUIDs 500000000-500000019 are free to add the creature objects for the Teleport Network*/ 21 | SELECT `guid`, `id1`, `map`, `zoneId`, `areaId` FROM `acore_world`.`creature` WHERE `guid` BETWEEN 5000000 AND 5000019; 22 | /*Check to see if entry 500000, 500001, and 500003 are free to add the broadcast text entries for the Teleport Network*/ 23 | SELECT `ID`, `LanguageID`, `MaleText`, `FemaleText` FROM `acore_world`.`broadcast_text` WHERE `ID` IN (500000, 500001, 500003); 24 | /*Check to see if entry 500000, 500001, and 500003 are free to add the npc text entries for the Teleport Network*/ 25 | SELECT `ID`, `text0_0`, `text0_1`, `lang0` FROM `acore_world`.`npc_text` WHERE `ID` IN (500000, 500001, 500003); 26 | /*Check to see if entry 500000-500004 are free to add the gameobject templates for the Teleport Network*/ 27 | SELECT `entry`, `type`, `displayId`, `name` FROM `acore_world`.`gameobject_template` WHERE `entry` BETWEEN 500000 AND 500004; 28 | /*Check to see if GUIDs 500000000-500000049 are free to add the gameobjects for the Teleport Network*/ 29 | SELECT `guid`, `id`, `map`, `zoneId`, `areaId` FROM `acore_world`.`gameobject` WHERE `guid` BETWEEN 5000000 AND 5000049; 30 | 31 | /*AGAIN: Please note that if you have any results back from these queries you will need to modify the FactionFree.sql 32 | to use new and free entry, id, or GUID values.*/ -------------------------------------------------------------------------------- /sql/world/FactionFree.sql: -------------------------------------------------------------------------------- 1 | /* 2 | This SQL script is part of the mod-Faction-Free AzerothCore module hosted at: 3 | https://github.com/gitdalisar/mod-Faction-Free 4 | 5 | Maintained by GitDalisar 6 | 7 | For Manual installation: 8 | 1. Ensure that you are logged into MySQL Database 9 | 2. Change to the acore_world database with: USE acore_world; 10 | 3. Run this using this command: SOURCE ; 11 | 12 | Version Change Log: 13 | Version 1.0.0: 14 | --Update quest_template to allow all factions to have access to all quests 15 | Version 1.1.0: 16 | --Update areatrigger_tavern to allow all Inns to give rest xp bonus to all factions 17 | --Update plareycreateinfo_skills to allow all races to know all languages 18 | --Update broadcast_text, creature_text, and npc_text to allow all players to read all npc chat 19 | --Update item_template to allow for all equipment to be used by all races and both factions 20 | --Update broadcast_text, npc_text, creature_template, gameobject_template, creature, gameobject to include teleport NPC network 21 | Version 1.3.0: 22 | --Update creature_template where Horde Factions that were still attacking Alliance to be set to Orgrimmar to be friendly to opposing faction 23 | --Update creature_template where Alliance Factions that were still attacking Horde to be set to Stormwind to be friendly to opposing faction 24 | --Update creature_template for Duskwood Nightwatch to single faction that appears to be passive to avoid attacking Horde players 25 | --Update creature_template for Enemy NPCs created during airship fight in ICC to an attackable faction 26 | Version 1.3.1: 27 | --Update creature_template for another set of Horde/Alliance factions to Orgrimmar/Stormwind to avoid player attacks 28 | Version 1.3.2: 29 | --Update creature_template to set Duskwood Nightwatch to Stormwind as both factions have a few NPC that attack Horde Players 30 | --Update item_template to get all items available to all races and factions as some were missed with v1.1.0 31 | --Update creature_template to set NPCs to attackable for The Battered Hilt quest chain 32 | --Added DELETE statements ahead of INSERT statements to allow this script to be ran cleanly after each patch update to module 33 | Version 1.3.4: 34 | --Update creature_template to set Raventusk Village to Orgrimmar as that attacked Alliance Players 35 | Version 1.3.5: 36 | --Update the INSERTS for the creature templates for the NPCs used for flight paths to no longer use columsn modelid1-modelid4 as AC has removed those via update 37 | Version 1.3.6: 38 | --Added 1637 to Horde list of factions still attacking Alliance Players within Silvermoon to correct behavior 39 | */ 40 | 41 | /*This will update the quest_template table to allow all races to have access to all quests.*/ 42 | UPDATE `acore_world`.`quest_template` SET `AllowableRaces` = 1791 WHERE `AllowableRaces` = 1101 OR `AllowableRaces` = 690; 43 | 44 | /*This will update all Inns to give rested xp bonus to players regaurdless to the faction of the player vs. the Inn's faction.*/ 45 | UPDATE `acore_world`.`areatrigger_tavern` SET `faction` = 6 WHERE `faction` != 6; 46 | 47 | /*This will update the playercreateinfo_skills table to have all players start with knowing all playable race languages at creation.*/ 48 | UPDATE `acore_world`.`playercreateinfo_skills` SET `raceMask`=1791 WHERE `raceMask`!=1791 AND `comment` LIKE "Language%"; 49 | 50 | /*This will update the broadcast_text, creature_text, and npc_text tables to ensure players can read NPC chat regardless of player faction.*/ 51 | UPDATE `acore_world`.`broadcast_text` SET `LanguageID` = 0 WHERE `LanguageID` IN (1,2,3,6,7,10,13,14,33,35); 52 | UPDATE `acore_world`.`creature_text` SET `Language` = 0 WHERE `Language` IN (1,2,3,6,7,10,13,14,33,35); 53 | UPDATE `acore_world`.`npc_text` SET `lang0` = 0 WHERE `lang0` IN (1,2,3,6,7,10,13,14,33,35); 54 | UPDATE `acore_world`.`npc_text` SET `lang1` = 0 WHERE `lang1` IN (1,2,3,6,7,10,13,14,33,35); 55 | UPDATE `acore_world`.`npc_text` SET `lang2` = 0 WHERE `lang2` IN (1,2,3,6,7,10,13,14,33,35); 56 | UPDATE `acore_world`.`npc_text` SET `lang3` = 0 WHERE `lang3` IN (1,2,3,6,7,10,13,14,33,35); 57 | UPDATE `acore_world`.`npc_text` SET `lang4` = 0 WHERE `lang4` IN (1,2,3,6,7,10,13,14,33,35); 58 | UPDATE `acore_world`.`npc_text` SET `lang5` = 0 WHERE `lang5` IN (1,2,3,6,7,10,13,14,33,35); 59 | UPDATE `acore_world`.`npc_text` SET `lang6` = 0 WHERE `lang6` IN (1,2,3,6,7,10,13,14,33,35); 60 | UPDATE `acore_world`.`npc_text` SET `lang7` = 0 WHERE `lang7` IN (1,2,3,6,7,10,13,14,33,35); 61 | 62 | /*This will update the item_template table to ensure all items that are faction locked are no longer set as such to allow for 63 | both cross-faction mount aquisition as well as faction specific quest drops since all quests are open at this point to both factions.*/ 64 | UPDATE `acore_world`.`item_template` SET `FlagsExtra` = 0 WHERE `FlagsExtra` IN (1, 2); 65 | UPDATE `acore_world`.`item_template` SET `FlagsExtra` = 8192 WHERE `FlagsExtra` IN (8193, 8194); 66 | UPDATE `acore_world`.`item_template` SET `AllowableRace` = -1; 67 | 68 | /*This adds the broadcast_text and npc_text required for the two NPC that will teleport players. PLEASE NOTE: the NPC and their corresponding 69 | npc_text and broacast_text line up using 500000 and 500001, with both using 500003 for submenu text. If these are already in use 70 | within your environment, you can change those values here.*/ 71 | DELETE FROM `acore_world`.`broadcast_text` WHERE `ID` IN (500000, 500001, 500003); 72 | DELETE FROM `acore_world`.`npc_text` WHERE `ID` IN (500000, 500001, 500003); 73 | INSERT INTO `acore_world`.`broadcast_text` (`ID`, `LanguageID`, `MaleText`, `FemaleText`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `SoundEntriesId`, `EmotesID`, `Flags`, `VerifiedBuild`) VALUES (500000, 0, 'The name’s $N you say?$B$BYou look like the perfect expirim..ustomer for this feat of Gobl-ome Engineering! All the Goblin wonder, splendor, and craftswomanship you could hope for! With ... Gnomish... *in a mocking voice* “Scientific Process.”', 'The name’s $N you say?$B$BYou look like the perfect expirim..ustomer for this feat of Gobl-ome Engineering! All the Goblin wonder, splendor, and craftswomanship you could hope for! With ... Gnomish... *in a mocking voice* “Scientific Process.”', 0, 0, 0, 0, 0, 0, 0, 0, 1, 18019); 74 | INSERT INTO `acore_world`.`broadcast_text` (`ID`, `LanguageID`, `MaleText`, `FemaleText`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `SoundEntriesId`, `EmotesID`, `Flags`, `VerifiedBuild`) VALUES (500001, 0, 'Hey there how\'s it goin\', $N?$B$BCan I interest you in travel today? Only the finest in Gnom-lin Engineering! The precise science of Gnomish ingenuity with... Goblin... explosiony-ness?', 'Hey there how\'s it goin\', $N?$B$BCan I interest you in travel today? Only the finest in Gnom-lin Engineering! The precise science of Gnomish ingenuity with... Goblin... explosiony-ness?', 0, 0, 0, 0, 0, 0, 0, 0, 1, 18019); 75 | INSERT INTO `acore_world`.`broadcast_text` (`ID`, `LanguageID`, `MaleText`, `FemaleText`, `EmoteID1`, `EmoteID2`, `EmoteID3`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `SoundEntriesId`, `EmotesID`, `Flags`, `VerifiedBuild`) VALUES (500003, 0, 'Decide where you would like to go? Remember our network requires a lot of power, so anything outside the cities is a one way trip!', 'Decide where you would like to go? Remember our network requires a lot of power, so anything outside the cities is a one way trip!', 0, 0, 0, 0, 0, 0, 0, 0, 1, 18019); 76 | INSERT INTO `acore_world`.`npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `Probability1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `Probability2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `Probability3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `Probability4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `Probability5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `Probability6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `Probability7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`) VALUES (500000, 'The name’s $N you say?$B$BYou look like the perfect expirim..ustomer for this feat of Gobl-ome Engineering! All the Goblin wonder, splendor, and craftswomanship you could hope for! With ... Gnomish... *in a mocking voice* “Scientific Process.”', 'The name’s $N you say?$B$BYou look like the perfect expirim..ustomer for this feat of Gobl-ome Engineering! All the Goblin wonder, splendor, and craftswomanship you could hope for! With ... Gnomish... *in a mocking voice* “Scientific Process.”', 500000, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 500000, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 12340); 77 | INSERT INTO `acore_world`.`npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `Probability1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `Probability2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `Probability3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `Probability4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `Probability5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `Probability6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `Probability7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`) VALUES (500001, 'Hey there how\'s it goin\', $N?$B$BCan I interest you in travel today? Only the finest in Gnom-lin Engineering! The precise science of Gnomish ingenuity with... Goblin... explosiony-ness?', 'Hey there how\'s it goin\', $N?$B$BCan I interest you in travel today? Only the finest in Gnom-lin Engineering! The precise science of Gnomish ingenuity with... Goblin... explosiony-ness?', 500001, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 500001, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 12340); 78 | INSERT INTO `acore_world`.`npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `Probability1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `Probability2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `Probability3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `Probability4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `Probability5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `Probability6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `Probability7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`) VALUES (500003, 'Decide where you would like to go? Remember our network requires a lot of power, so anything outside the cities is a one way trip!', 'Decide where you would like to go? Remember our network requires a lot of power, so anything outside the cities is a one way trip!', 500003, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 500003, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 12340); 79 | 80 | /*This will create the two NPC used for the teleport network to aide in travel around the world, especially for ares where one faction 81 | may have fewer cities or flight paths. They will use entry 500000 and 500001. If these are already in use within your environment, 82 | you can change those values here.*/ 83 | DELETE FROM `acore_world`.`creature_template` WHERE `entry` BETWEEN 500000 AND 500001; 84 | INSERT INTO `acore_world`.`creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `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`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (500000, 0, 0, 0, 0, 0, 'Quinley Gearspark', 'Gobl-ome Engieering Co.', NULL, 0, 35, 35, 0, 474, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 8, 512, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1, 1, 0, 0, 1, 0, 0, 2, '', 12340); 85 | INSERT INTO `acore_world`.`creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `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`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (500001, 0, 0, 0, 0, 0, 'Harleen Gearspark', 'Gnom-lin Engieering Co.', NULL, 0, 35, 35, 0, 474, 1, 1, 1.14286, 1, 1, 18, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 512, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1.1, 1, 1, 1, 0, 0, 1, 0, 0, 2, '', 12340); 86 | 87 | /*This will create a series of objects in gameobject_template that were used to add asthetics to the teleport network. They have no purpose 88 | other than just to make the area stand out and look better. They will use entry 500000-500004. If these are already in use within your 89 | environment, you can change those values here.*/ 90 | DELETE FROM `acore_world`.`gameobject_template` WHERE `entry` BETWEEN 500000 AND 500004; 91 | INSERT INTO `acore_world`.`gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES (500000, 0, 7135, 'FactionFreeTeleporter-WarpDevice', '', '', '', 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 12340); 92 | INSERT INTO `acore_world`.`gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES (500001, 0, 2047, 'FactionFreeTeleporter-MechanicalDevice', '', '', '', 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 12340); 93 | INSERT INTO `acore_world`.`gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES (500002, 0, 8632, 'FactionFreeTeleporter-UlduarDevice', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 9767); 94 | INSERT INTO `acore_world`.`gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES (500003, 0, 9064, 'FactionFreeTeleporter-BlueEffect', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 12340); 95 | INSERT INTO `acore_world`.`gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES (500004, 0, 9065, 'FactionFreeTeleporter-RedEffect', '', '', '', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 12340); 96 | 97 | /*This will insert all of the NPC creatures into the appropriate locations within the creature table. They will use GUIDs 98 | 500000000-500000019. If If these are already in use within your environment, you can change those values here.*/ 99 | DELETE FROM `acore_world`.`creature` WHERE `guid` BETWEEN 5000000 AND 5000019; 100 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000000, 500000, 0, 0, 0, 0, 0, 1, 1, 0, -4909.89, -929.523, 501.605, 5.28553, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 101 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000001, 500000, 0, 0, 1, 0, 0, 1, 1, 0, 1657.53, -4323.54, 62.1195, 5.70502, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 102 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000002, 500000, 0, 0, 0, 0, 0, 1, 1, 0, -8840.8, 469.371, 109.634, 1.92423, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 103 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000003, 500000, 0, 0, 530, 0, 0, 1, 1, 0, -4032.72, -11807.1, 9.09504, 3.09714, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 104 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000004, 500000, 0, 0, 1, 0, 0, 1, 1, 0, 9867.02, 2498.01, 1315.88, 5.69986, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 105 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000005, 500000, 0, 0, 0, 0, 0, 1, 1, 0, 1576.13, 243.024, -62.0774, 6.07105, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 106 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000006, 500000, 0, 0, 1, 0, 0, 1, 1, 0, -1213.99, 58.1399, 130.209, 3.28225, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 107 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000007, 500000, 0, 0, 530, 0, 0, 1, 1, 0, 9475.72, -7299.99, 14.3742, 0.828917, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 108 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000008, 500000, 0, 0, 571, 0, 0, 1, 1, 0, 5786.01, 474.657, 657.693, 5.33677, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 109 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000009, 500000, 0, 0, 530, 0, 0, 1, 1, 0, -1804.89, 5286.58, -12.428, 2.34394, 300, 0, 0, 993, 2680, 0, 0, 0, 0, '', NULL, 0, NULL); 110 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000010, 500001, 0, 0, 0, 0, 0, 1, 1, 0, -4911.77, -932.511, 501.588, 5.67823, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 111 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000011, 500001, 0, 0, 1, 0, 0, 1, 1, 0, 1657.49, -4327.33, 61.7339, 0.128696, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 112 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000012, 500001, 0, 0, 0, 0, 0, 1, 1, 0, -8838.92, 472.435, 109.625, 2.78817, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 113 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000013, 500001, 0, 0, 530, 0, 0, 1, 1, 0, -4035.11, -11803.9, 9.07738, 4.34592, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 114 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000014, 500001, 0, 0, 1, 0, 0, 1, 1, 0, 9867.09, 2494.36, 1315.88, 0.51623, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 115 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000015, 500001, 0, 0, 0, 0, 0, 1, 1, 0, 1577.38, 240.112, -62.0774, 0.820663, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 116 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000016, 500001, 0, 0, 1, 0, 0, 1, 1, 0, -1215.98, 61.0444, 129.945, 4.2208, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 117 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000017, 500001, 0, 0, 530, 0, 0, 1, 1, 0, 9479.4, -7300.33, 14.3789, 2.16017, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 118 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000018, 500001, 0, 0, 571, 0, 0, 1, 1, 0, 5784.8, 470.92, 657.862, 0.345561, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 119 | INSERT INTO `acore_world`.`creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES (5000019, 500001, 0, 0, 530, 0, 0, 1, 1, 0, -1804.6, 5290.24, -12.428, 3.63985, 300, 0, 0, 1342, 0, 0, 0, 0, 0, '', NULL, 0, NULL); 120 | 121 | /*This will insert all of the teleporter game objects into the appropriate locations within the gameobject table. They will use GUIDs 122 | 500000000-500000049. If If these are already in use within your environment, you can change those values here.*/ 123 | DELETE FROM `acore_world`.`gameobject` WHERE `guid` BETWEEN 5000000 AND 5000049; 124 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000000, 500000, 0, 0, 0, 1, 1, -4913.49, -929.127, 501.626, 5.2698, -0, -0, -0.485288, 0.874355, 300, 0, 1, '', NULL, NULL); 125 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000001, 500001, 0, 0, 0, 1, 1, -4913.49, -929.127, 501.626, 5.2698, -0, -0, -0.485288, 0.874355, 300, 0, 1, '', NULL, NULL); 126 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000002, 500002, 0, 0, 0, 1, 1, -4913.49, -929.127, 502.453, 5.2698, -0, -0, -0.485288, 0.874355, 300, 0, 1, '', NULL, NULL); 127 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000003, 500003, 0, 0, 0, 1, 1, -4913.49, -929.127, 502.453, 5.2698, -0, -0, -0.485288, 0.874355, 300, 0, 1, '', NULL, NULL); 128 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000004, 500004, 0, 0, 0, 1, 1, -4913.49, -929.127, 502.453, 5.2698, -0, -0, -0.485288, 0.874355, 300, 0, 1, '', NULL, NULL); 129 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000005, 500000, 1, 0, 0, 1, 1, 1654.7, -4325.37, 61.7998, 5.85969, -0, -0, -0.210166, 0.977666, 300, 0, 1, '', NULL, NULL); 130 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000006, 500001, 1, 0, 0, 1, 1, 1654.7, -4325.37, 61.7998, 5.85969, -0, -0, -0.210166, 0.977666, 300, 0, 1, '', NULL, NULL); 131 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000007, 500002, 1, 0, 0, 1, 1, 1654.7, -4325.37, 62.6259, 5.86755, -0, -0, -0.206326, 0.978483, 300, 0, 1, '', NULL, NULL); 132 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000008, 500003, 1, 0, 0, 1, 1, 1654.7, -4325.37, 62.6259, 5.86755, -0, -0, -0.206326, 0.978483, 300, 0, 1, '', NULL, NULL); 133 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000009, 500004, 1, 0, 0, 1, 1, 1654.7, -4325.37, 62.6259, 5.86755, -0, -0, -0.206326, 0.978483, 300, 0, 1, '', NULL, NULL); 134 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000010, 500000, 0, 0, 0, 1, 1, -8837.51, 469.527, 109.639, 2.2698, -0, -0, -0.906493, -0.422222, 300, 0, 1, '', NULL, NULL); 135 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000011, 500001, 0, 0, 0, 1, 1, -8837.51, 469.527, 109.639, 2.2698, -0, -0, -0.906493, -0.422222, 300, 0, 1, '', NULL, NULL); 136 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000012, 500002, 0, 0, 0, 1, 1, -8837.51, 469.527, 110.466, 2.2698, -0, -0, -0.906493, -0.422222, 300, 0, 1, '', NULL, NULL); 137 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000013, 500003, 0, 0, 0, 1, 1, -8837.51, 469.527, 110.466, 2.2698, -0, -0, -0.906493, -0.422222, 300, 0, 1, '', NULL, NULL); 138 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000014, 500004, 0, 0, 0, 1, 1, -8837.51, 469.527, 110.466, 2.2698, -0, -0, -0.906493, -0.422222, 300, 0, 1, '', NULL, NULL); 139 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000015, 500000, 530, 0, 0, 1, 1, -4031.65, -11803.7, 9.1174, 3.32224, -0, -0, -0.995924, 0.0901987, 300, 0, 1, '', NULL, NULL); 140 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000016, 500001, 530, 0, 0, 1, 1, -4031.65, -11803.7, 9.1174, 3.32224, -0, -0, -0.995924, 0.0901987, 300, 0, 1, '', NULL, NULL); 141 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000017, 500002, 530, 0, 0, 1, 1, -4031.66, -11803.6, 9.94138, 3.32224, -0, -0, -0.995924, 0.0901987, 300, 0, 1, '', NULL, NULL); 142 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000018, 500003, 530, 0, 0, 1, 1, -4031.66, -11803.6, 9.94138, 3.32224, -0, -0, -0.995924, 0.0901987, 300, 0, 1, '', NULL, NULL); 143 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000019, 500004, 530, 0, 0, 1, 1, -4031.66, -11803.6, 9.94138, 3.32224, -0, -0, -0.995924, 0.0901987, 300, 0, 1, '', NULL, NULL); 144 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000020, 500000, 1, 0, 0, 1, 1, 9864.34, 2495.77, 1315.9, 5.9394, -0, -0, -0.171047, 0.985263, 300, 0, 1, '', NULL, NULL); 145 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000021, 500001, 1, 0, 0, 1, 1, 9864.34, 2495.77, 1315.9, 5.9394, -0, -0, -0.171047, 0.985263, 300, 0, 1, '', NULL, NULL); 146 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000022, 500002, 1, 0, 0, 1, 1, 9864.34, 2495.77, 1316.73, 5.97474, -0, -0, -0.15361, 0.988132, 300, 0, 1, '', NULL, NULL); 147 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000023, 500003, 1, 0, 0, 1, 1, 9864.34, 2495.77, 1316.73, 5.97474, -0, -0, -0.15361, 0.988132, 300, 0, 1, '', NULL, NULL); 148 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000024, 500004, 1, 0, 0, 1, 1, 9864.34, 2495.77, 1316.73, 5.97474, -0, -0, -0.15361, 0.988132, 300, 0, 1, '', NULL, NULL); 149 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000025, 500000, 0, 0, 0, 1, 1, 1574.35, 240.538, -62.0772, 0.0126472, -0, -0, -0.00632474, -0.99998, 300, 0, 1, '', NULL, NULL); 150 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000026, 500001, 0, 0, 0, 1, 1, 1574.35, 240.538, -62.0772, 0.0126472, -0, -0, -0.00632474, -0.99998, 300, 0, 1, '', NULL, NULL); 151 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000027, 500002, 0, 0, 0, 1, 1, 1574.35, 240.538, -61.2511, 0.0322821, -0, -0, -0.0161398, -0.99987, 300, 0, 1, '', NULL, NULL); 152 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000028, 500003, 0, 0, 0, 1, 1, 1574.35, 240.538, -61.2511, 0.0322821, -0, -0, -0.0161398, -0.99987, 300, 0, 1, '', NULL, NULL); 153 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000029, 500004, 0, 0, 0, 1, 1, 1574.35, 240.538, -61.2511, 0.0322821, -0, -0, -0.0161398, -0.99987, 300, 0, 1, '', NULL, NULL); 154 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000030, 500000, 1, 0, 0, 1, 1, -1212.87, 61.2657, 130.294, 3.3765, -0, -0, -0.993111, 0.117182, 300, 0, 1, '', NULL, NULL); 155 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000031, 500001, 1, 0, 0, 1, 1, -1212.87, 61.2657, 130.294, 3.3765, -0, -0, -0.993111, 0.117182, 300, 0, 1, '', NULL, NULL); 156 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000032, 500002, 1, 0, 0, 1, 1, -1212.87, 61.2657, 131.12, 3.46289, -0, -0, -0.987124, 0.159958, 300, 0, 1, '', NULL, NULL); 157 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000033, 500003, 1, 0, 0, 1, 1, -1212.87, 61.2657, 131.12, 3.46289, -0, -0, -0.987124, 0.159958, 300, 0, 1, '', NULL, NULL); 158 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000034, 500004, 1, 0, 0, 1, 1, -1212.87, 61.2657, 131.12, 3.46289, -0, -0, -0.987124, 0.159958, 300, 0, 1, '', NULL, NULL); 159 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000035, 500000, 530, 0, 0, 1, 1, 9477.6, -7302.96, 14.3697, 1.17057, -0, -0, -0.552437, -0.833554, 300, 0, 1, '', NULL, NULL); 160 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000036, 500001, 530, 0, 0, 1, 1, 9477.6, -7302.96, 14.3697, 1.17057, -0, -0, -0.552437, -0.833554, 300, 0, 1, '', NULL, NULL); 161 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000037, 500002, 530, 0, 0, 1, 1, 9477.6, -7302.96, 15.1959, 1.17057, -0, -0, -0.552437, -0.833554, 300, 0, 1, '', NULL, NULL); 162 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000038, 500003, 530, 0, 0, 1, 1, 9477.6, -7302.96, 15.1959, 1.17057, -0, -0, -0.552437, -0.833554, 300, 0, 1, '', NULL, NULL); 163 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000039, 500004, 530, 0, 0, 1, 1, 9477.6, -7302.96, 15.1959, 1.17057, -0, -0, -0.552437, -0.833554, 300, 0, 1, '', NULL, NULL); 164 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000040, 500000, 571, 0, 0, 1, 1, 5782.92, 473.433, 657.88, 5.68628, -0, -0, -0.294044, 0.955792, 300, 0, 1, '', NULL, NULL); 165 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000041, 500001, 571, 0, 0, 1, 1, 5782.92, 473.433, 657.88, 5.68628, -0, -0, -0.294044, 0.955792, 300, 0, 1, '', NULL, NULL); 166 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000042, 500002, 571, 0, 0, 1, 1, 5782.92, 473.433, 658.707, 5.66271, -0, -0, -0.305283, 0.952262, 300, 0, 1, '', NULL, NULL); 167 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000043, 500003, 571, 0, 0, 1, 1, 5782.92, 473.433, 658.707, 5.66271, -0, -0, -0.305283, 0.952262, 300, 0, 1, '', NULL, NULL); 168 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000044, 500004, 571, 0, 0, 1, 1, 5782.92, 473.433, 658.707, 5.66271, -0, -0, -0.305283, 0.952262, 300, 0, 1, '', NULL, NULL); 169 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000045, 500000, 530, 0, 0, 1, 1, -1802.13, 5288.22, -12.4279, 2.67381, -0, -0, -0.972772, -0.231764, 300, 0, 1, '', NULL, NULL); 170 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000046, 500001, 530, 0, 0, 1, 1, -1802.13, 5288.22, -12.4279, 2.67381, -0, -0, -0.972772, -0.231764, 300, 0, 1, '', NULL, NULL); 171 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000047, 500002, 530, 0, 0, 1, 1, -1802.13, 5288.22, -11.6011, 2.63454, -0, -0, -0.968034, -0.250819, 300, 0, 1, '', NULL, NULL); 172 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000048, 500003, 530, 0, 0, 1, 1, -1802.13, 5288.22, -11.6011, 2.63454, -0, -0, -0.968034, -0.250819, 300, 0, 1, '', NULL, NULL); 173 | INSERT INTO `acore_world`.`gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`, `Comment`) VALUES (5000049, 500004, 530, 0, 0, 1, 1, -1802.13, 5288.22, -11.6011, 2.63454, -0, -0, -0.968034, -0.250819, 300, 0, 1, '', NULL, NULL); 174 | 175 | /*This will modify Horde Factions that were still attacking Alliance players despite being friendly in the FactionTemplate.dbc file.*/ 176 | UPDATE `creature_template` SET faction = 85 WHERE faction IN (83, 1734, 106, 1735, 1495, 1637); 177 | 178 | /*This will modify Alliance Factions that were still attacking Horde players despite being friendly in the FactionTemplate.dbc file.*/ 179 | UPDATE `creature_template` SET faction = 11 WHERE faction IN (53, 56, 84, 1733, 210, 1732); 180 | 181 | /*This will modify the faction of all Enemy NPC created during the airship fight in ICC to ensure Players of both factions can attack the enemy and progress the raid.*/ 182 | UPDATE `creature_template` SET faction = 14 WHERE entry IN (36950,38406,38685,38686,36957,38404,38679,38680,36960,38262,38683,38684,36961,38261,38691,38692,36968,38403,38675,38676,36969,38408,38689,38690,36978,38407,38687,38688,36982,38405,38681,38682,37116,38256,38693,38694,37117,38257,38677,38678); 183 | 184 | /*This will modify the faction of the two NPCs, Sunreaver and Silver Covenant Agents, required to be killed for the WOTLK "The Battered Hilt" quest chains by the opposing faction*/ 185 | UPDATE `acore_world`.`creature_template` SET `faction` = 7 WHERE `entry` IN (36776, 36774); --------------------------------------------------------------------------------