Compare commits

...

1302 Commits

Author SHA1 Message Date
AzerothCoreBot 1fc22a7408 Import pending SQL update file 2019-02-17 12:26:44 +00:00
Francesco Borzì 2742a2ed37 AzerothCore 2.0.0 2019-02-17 13:24:15 +01:00
Francesco Borzì 2bcedc2859 fix(Bash/Exporter): fix path + add prompt to prevent wrong usage (#1477) 2019-02-17 10:04:09 +01:00
AzerothCoreBot 9945f19a03 Import pending SQL update file 2019-02-16 22:58:14 +00:00
Francesco Borzì eb90ca2ff7 fix(DB): added missing SQL part of #1371 (#1478)
Co-Authored-By: José González <deku@users.noreply.github.com>
Co-Authored-By: Vitoco <xdevicci@users.noreply.github.com>
2019-02-16 19:56:22 -03:00
AzerothCoreBot afad0c9f2d Import pending SQL update file 2019-02-16 19:17:55 +00:00
Poszer 7a2d7a4f15 fix(DB/Quest): solved three Quest issues (#1443)
- Closes #1434
- Closes #1428
- Closes #1425
2019-02-16 20:13:43 +01:00
Vitoco edd88fbd1e fix(instance): Ruby Sanctum - Resistances ignored (#1371) 2019-02-16 20:08:50 +01:00
Francesco Borzì f960d8e848 fix(setup): MySQL 5.7 (#1445) 2019-02-16 20:04:26 +01:00
Francesco Borzì d326f4b3ff fix(sql): correct mistake in update file (#1473)
thanks @Stoabrogga for reporting this
2019-02-16 11:45:01 +01:00
AzerothCoreBot f32b909eb8 Import pending SQL update file 2019-02-15 19:31:09 +00:00
Nefertumm 6d80047af3 DB/Creature: Strange Winged Goblin (#1468) 2019-02-15 16:28:42 -03:00
Nefertumm c15206fc15 Revert "feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)" (#1471)
This reverts commit 51b8773528.
2019-02-15 15:14:49 -03:00
AzerothCoreBot 23e7ae6a2f Import pending SQL update file 2019-02-14 20:03:40 +00:00
OverFlow 38830f29c1 fix(DB/Quest): Fall From Grace (#1466) 2019-02-14 20:29:21 +01:00
OverFlow 6a53a73c1b fix(DB/Creature): NPC Rabine Saturna missing text (#1460)
- Closes #1454
2019-02-14 20:28:26 +01:00
Nefertumm 6dfb40b446 fix(Core/Instances): instance reset (#1416) 2019-02-14 20:27:12 +01:00
Walter Pagani 275dbec76d refactor(DB/Quest): move 4866 and 4224 from cpp to DB (#1415) 2019-02-14 20:26:15 +01:00
Francesco Borzì dc72de9fce fix(DB): correct mistake in sql update file 2019-02-14 19:48:50 +01:00
AzerothCoreBot 7cc30a6cf0 Import pending SQL update file 2019-02-14 18:27:56 +00:00
Francesco Borzì c2e0d9d4e6 chore(DB): set main DB version 2019-02-14 19:24:00 +01:00
Viste(Кирилл) 51b8773528 feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)
i.e. world update start
2019-02-14 19:22:17 +01:00
robens {e.py} 1b7522ff0e fix(Core/Player): achievements activation (#1463) 2019-02-14 19:11:54 +01:00
Viste(Кирилл) cb81f3c17a feat(Core/LOS): restruct LOS functions and add LineOfSight check (#1459) 2019-02-13 22:24:04 +01:00
Francesco Borzì 6908d333db fix: windows build (#1455)
- Closes #1451
2019-02-12 22:13:44 +01:00
AzerothCoreBot 0142255175 Import pending SQL update file 2019-02-12 20:21:17 +00:00
José González f0913b7da8 feat(Command): Remove spy command from AC and make it a module (#1401) 2019-02-12 21:19:27 +01:00
Francesco Borzì d4ab165888 refactor(Scripts/SpellGeneric): use modern C++ array instead of C array (#1436) 2019-02-12 08:06:05 +01:00
AzerothCoreBot f286737332 Import pending SQL update file 2019-02-11 19:06:00 +00:00
CookieMonsterDev 694b406b8b fix(DB/Quest): Hunting for Ectoplasm (#1441)
- Closes  #1435
2019-02-11 20:03:46 +01:00
Stoabrogga 24ccbd69e3 feat(Travis): speed up and stabilize build process (#1410)
- Use Travis build matrix to test build with clang 3.8 and clang 7
- Set the number of threads for the "make" command to 4 (Travis provides only 2 cores, see https://docs.travis-ci.com/user/reference/overview/, so 4 threads should be good to go)
- Use Travis caching (https://docs.travis-ci.com/user/caching/) and ccache to speed up the build process (with full cache now takes about 7-8 minutes); a separate cache is used for clang 3.8 and clang 7
- Added a 43 minute timeout for the "make" command in order to ensure that the cache is saved within Travis (Travis will kill the build process after 50 minutes without saving the cache, see https://docs.travis-ci.com/user/customizing-the-build/). If the "make" command is terminated by the timeout it suffices to restart the Travis build job in order to use the already written cache.
2019-02-11 09:03:32 +01:00
AzerothCoreBot f9ac9f1f1a Import pending SQL update file 2019-02-10 20:36:35 +00:00
CookieMonsterDev fcb7af46a1 fix(DB/Quest): The Shimmering Frond (#1440)
- Closes #1439
2019-02-10 21:32:25 +01:00
Stoabrogga 7a9f09341f chore(PCH): remove "ScriptPCH.h" from cpp scripts (#1423)
remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
2019-02-10 14:50:44 +01:00
Stoabrogga 2d3ea3a308 fix(clang): fix build on version 7 (#1391)
Remove unused private fields
2019-02-09 23:34:28 +01:00
Francesco Borzì 01c6d32ac9 feat(Core/Misc): compatibility with 10.2+ versions of MariaDB library (#1284) (#1437) 2019-02-09 21:51:05 +01:00
AzerothCoreBot 0c71d0e56e Import pending SQL update file 2019-02-08 23:12:03 +00:00
Nefertumm 2a71b2a666 feat: Added logs_ip_action + more (#1157) 2019-02-08 23:52:22 +01:00
Lee 6750fd5a73 [Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
2019-02-07 22:03:30 +00:00
AzerothCoreBot c141e06362 Import pending SQL update file 2019-02-07 19:54:39 +00:00
Poszer a09f786d00 fix(DB): prevquest for "Rejold's New Brew" (#1409)
Quest ''The Perfect Stout'' is required to open quest ''Rejold's New Brew''

Closes #1408
2019-02-07 20:52:06 +01:00
Francesco Borzì 7b61731958 feat(CI): prevent PRs that cause DB errors to get on master (#1407) 2019-02-06 23:55:23 +01:00
AzerothCoreBot 90e559ad8a Import pending SQL update file 2019-02-06 21:59:14 +00:00
Francesco Borzì b1198c7ef9 fix: remove data for unsupported criteria type (#1405) 2019-02-06 22:56:21 +01:00
AzerothCoreBot 313c65d967 Import pending SQL update file 2019-02-06 18:35:38 +00:00
Poszer 13bd000af8 feat(DB/Creature): Add Troll Roof Stalkers (#1414)
Add missing creatures in Orgrimmar.

Closes #1413
2019-02-06 19:33:08 +01:00
Francesco Borzì 37d9ef0126 fix(DB): mail_loot_template startup errors (#1404)
Fixed bug that made the core complaining about "unused mail_loot_template" while they were actually used 

Closes #1155
2019-02-05 19:55:00 +01:00
AzerothCoreBot 6299a412a5 Import pending SQL update file 2019-02-04 21:50:36 +00:00
Stoabrogga 13d3d4b26f Fix(DB): Backbiter movement + missing texts in Dalaran (#1384)
Fix Backbiter following Warp-Huntress Kula in Dalaran. Instead of summoning Backbiter via spell "Summon Backbiter" by Kula it is inserted as regular creature following Kula in close formation. Also fixed some missing texts for the following creature IDs in order to get rid of the errors in the server log:
27047: Invisible Stalker (Floating Only)
32711: Warp-Huntress Kula
29506: Orland Schaeffer


Closes #980
Closes #1379
2019-02-04 22:44:13 +01:00
Francesco Borzì f8697fef52 Update README.md 2019-02-04 20:27:11 +01:00
AzerothCoreBot c5dace960b Import pending SQL update file 2019-02-04 17:57:37 +00:00
Francesco Borzì 2eb5477c79 fix: spell_scripts DB startup errors (#1406) 2019-02-04 18:54:04 +01:00
AzerothCoreBot bcddad97da Import pending SQL update file 2019-02-03 16:36:27 +00:00
Stoabrogga ca858538b6 fix(DB): positioning of the control console on the zeppelin "Cloudkisser" (#1400)
Fix the positioning of the control console on the zeppelin "Cloudkisser". Otherwise it falls to the ground and floats through the air while the zeppelin is moving.

Closes #1394
2019-02-03 17:34:13 +01:00
Francesco Borzì 264dd0c65a fix(gobject): elevator bug + prevent bugs related to faction and flags (#1402)
- Closes #1396
2019-02-02 14:34:50 +01:00
Poszer 002f24aadb Core/Spells: Mage permafrost talent (#1389)
* Core/Spells : Mage permafrost talent

- Will fix issue with permafrost (Talent ) apply the heal reduction even if dispelled.

Co-Authored-By: talamortis <talamortis@gmail.com>

* Update Spell.cpp

Removed the whole case function as requested in AC comments.
2019-02-02 12:51:16 +00:00
AzerothCoreBot 726288c8fd Import pending SQL update file 2019-02-01 21:51:06 +00:00
Stoabrogga 781fe38003 fix(DB/SAI): Rift Spawns (Mage quests) (#1383)
Mage quests 1920 & 1960

The Rift Spawns will immediately attack after using "Cantation of Manifestation" and now correctly say "Rift Spawn is angered and attacks!"
The Rift Spawns will now correctly say "Rift Spawn escapes into the void!" if it takes too long to catch them after being stunned.
The LoS restriction of "Cantation of Manifestation" is removed
2019-02-01 22:48:02 +01:00
AzerothCoreBot 89df9b9086 Import pending SQL update file 2019-02-01 02:03:09 +00:00
Lee d172c43459 [Core/ Spell] Val'anyr Hammer of Ancient Kings Fix (#1388)
* [Core / Spell] Fixed Val'anyr Hammer of Ancient Kings

Fixed issue with Val'anyr Hammer of Ancient Kings procing on non healing spells such as buffs
2019-02-01 01:59:19 +00:00
AzerothCoreBot 0e154c4dba Import pending SQL update file 2019-01-31 21:28:31 +00:00
Poszer d36a306835 fix(DB): solved several issues (#1375)
- Will fix double quest from creature Captain Hecklebury Smotts
- Will fix incorrect factions of Torek & Splintertree Raider ( They belongs to Horde Faction as Quest NPC's and will be just attackable while quest is finished ) from opossite faction.
- Updated faction for NPC Sarkoth ( Monster )
- Updated pahing for creature Centaur Pariah
2019-01-31 22:25:58 +01:00
Barbz c60d1ee6e6 style: Reorder DBs in config.sh.dist (#1353)
Now use the logical order of DBs.

Also disabled extractors (tools) compilation by default.
2019-01-30 18:19:53 +01:00
Lee 30f28d341e [Core / Spell] Fixed Amplify Damage (#1387)
Fixed Amplify Damage for Prince Malchezaar, this will no longer apply the effect on all players in the raid but only single player
2019-01-30 12:15:56 +00:00
AzerothCoreBot fc1fad4e32 Import pending SQL update file 2019-01-29 22:25:54 +00:00
Francesco Borzì d16c17c044 feat(conditions): prevent adding bad contitions + align enums with TC (#1381) 2019-01-29 23:02:54 +01:00
AzerothCoreBot 4af1dc4906 Import pending SQL update file 2019-01-29 21:38:42 +00:00
Walter Pagani 99fdc32991 refactor: Quest 5742 moved from core to DB (#1354)
Replace c++ with smart_scripts
2019-01-29 22:34:23 +01:00
Raschaad f7229dc82b fix(docker): align generate-database.sh to db-asm script output renames 2019-01-29 21:55:30 +01:00
AzerothCoreBot 9af2a461f6 Import pending SQL update file 2019-01-28 19:27:58 +00:00
Francesco Borzì 38b368e909 feat(gameobject): allow gameobjects to loot money + align table with TC (#1368) 2019-01-28 20:24:43 +01:00
Francesco Borzì 1905c36353 fix(quest): fix some quest chains + align NextQuestID with TC (#1351) 2019-01-28 20:23:59 +01:00
Francesco Borzì 2f1c01a1fd feat(SmartAI): display error on unsupported targets + align TC enums (#1349) 2019-01-28 20:23:35 +01:00
José González 987095e2c9 fix(Core/Command): fix startup error 2019-01-27 12:23:19 +01:00
Francesco Borzì e1b506fafa fix(travis): prevent failures in forks
thanks @Rochet2
2019-01-27 11:09:17 +01:00
Francesco Borzì 1c49942796 fix(travis): remove command duplication that was causing failure 2019-01-26 23:24:05 +01:00
Francesco Borzì fac605de24 chore(readme): added Docker reference in README.md 2019-01-26 22:16:45 +00:00
Stoabrogga acf47073ab feat(SmartAI): Implement action type 115 "SMART_ACTION_RANDOM_SOUND" 2019-01-26 22:16:16 +00:00
Francesco Borzì 9eb07a57d4 fix(travis): attempt to fix staging branch auto-update 2019-01-26 22:11:34 +00:00
AzerothCoreBot 9f4837cf2d Import pending SQL update file 2019-01-26 19:49:53 +00:00
Poszer e60c3df132 fix(DB/Quest): Mage Summoner (#1341)
- Added gossip menu option for Shaman Trainer
- Updated faction for creature Minor Water Guardian
- Updated flags for creature Sarilus Foulborne
- Added SAI for Creature Sarilus Foulborne

- Sagorne Creststrider now correctly has the text "Teach me the ways of the spirits" instead of a blank gossip option. All his gossip options open the correct corresponding features.
- Sarilus Foulborne summons water elementals on pull, then proceeds to use frostbolt in combat.
    Note: Sarilus will always run to the player to be in melee range, even though he casts frostbolt every couple seconds. Maybe he should stay at casting range until OOM?
2019-01-26 20:47:46 +01:00
AzerothCoreBot ebdfdea8e3 Import pending SQL update file 2019-01-25 21:03:02 +00:00
Poszer 8c49cec40a fix(DB/SAI): Lazy Peons quest (#1348)
- Quest: Lazy Peons: Moved from core to SAI
- Lazy Peon will now play work sounds
- Lazy Peon will now display the axe-swing emote
- Lazy Peon will now kneel in front of the pile, and start cutting in front of the tree
- Lazy Peon will now use better positions and orientations for the wood pile and the trees
- Lazy Peon will fall asleep after 80 seconds of working
- Lazy Peon will now activate itself every 120 000 till 150 000 milliseconds
2019-01-25 22:01:24 +01:00
Francesco Borzì 17e07528c4 feat(travis): keep staging branch up to date 2019-01-25 12:24:06 +00:00
AzerothCoreBot 69a5616025 Import pending SQL update file 2019-01-24 19:09:29 +00:00
Francesco Borzì 206feacab3 feat(SmartAI): improve add quest action (#1333) 2019-01-24 19:07:13 +00:00
Francesco Borzì 60561d6f9f chore(bot): improve layout of travis bot commits (#1347) 2019-01-23 22:54:45 +00:00
Francesco Borzì c62fec7f77 feat(SmartAI): handle unused SmartActions (#1335)
Emit error when there is a SmartAction in the DB that is not yet supported in AzerothCore.
Emit error when there is a SmartAction in the DB that is not supposed to be used in version 3.3.5a.
2019-01-23 15:51:08 +01:00
Travis CI 4ba0932885 Importing pending sql 2019-01-22 23:07:46 +00:00
Kargatum f6d00026cd DB: Fix crash in waypoint_scripts (#1342) 2019-01-23 06:05:19 +07:00
Francesco Borzì 86d78f7d05 chore(README.md) 2019-01-22 23:55:14 +01:00
Barbz b41fd95874 chore(db_assembler): Changed var name (#1091)
- Added a missing "s" to the update suffix because it must match exactly the name of the updates/ directory (we have base, custom and updates)
- Also changed var name in config.sh.dist (edit your config.sh if you use it)
- Removed trailing spaces
2019-01-22 22:43:30 +01:00
Francesco Borzì 71e0ad005b fix(Docker): solve bug in Windows installation
- Closes #1305
2019-01-22 20:43:40 +01:00
Travis CI 6c233c4d8c Importing pending sql 2019-01-22 14:39:50 +00:00
José González 8ad64cd8a3 fix(DB/Command): Add help options for .spy command (#1339)
Add missing help options for the new .spy command
2019-01-22 15:38:16 +01:00
Lee 662a49bfd8 [Core / Script] Mr Smite Event Update (#1340)
Fixed an issue where Mr Smite would do his stomp event more than once.
2019-01-22 08:12:46 +00:00
Travis CI a8621e44e8 Importing pending sql 2019-01-20 23:40:07 +00:00
Walter Pagani b39042d533 DB/Quest: Quest 11223 moved from core to DB (#1334) 2019-01-21 06:38:26 +07:00
Travis CI 049b9cb220 Importing pending sql 2019-01-20 18:59:30 +00:00
Francesco Borzì 8931ae74ba refactor(SmartAI): move AC-only SMART_ACTIONs to avoid conflicts with TC 2019-01-20 19:57:21 +01:00
Travis CI 3b02050e5b Importing pending sql 2019-01-20 13:10:54 +00:00
Francesco Borzì 386b334337 refactor(SmartAI): align some SMART_ACTION(s) to TC (#1329) 2019-01-20 14:09:14 +01:00
Travis CI 569b25e579 Importing pending sql 2019-01-20 10:41:44 +00:00
Francesco Borzì 7c7c5eb203 Core/DB: refactor(creature_template): closes #1181 (#1322)
* refactor(creature_template): closes #1181

* chore: improve code readability
2019-01-20 13:39:32 +03:00
Travis CI e8d73a553f Importing pending sql 2019-01-20 00:40:54 +00:00
Francesco Borzì a1c73d66b0 refactor(DB-world): minor changes (#1323) 2019-01-20 01:38:54 +01:00
Travis CI 941852987d Importing pending sql 2019-01-20 00:04:15 +00:00
Francesco Borzì 07d5314a8b refactoring(SAI): add event_param5 and target_param4 (#1324) 2019-01-20 01:02:01 +01:00
Francesco Borzì aa66ff8f08 Core/Startup: Empty table should not be a startup error (#1320) 2019-01-20 02:24:10 +07:00
Poszer 2729b35bb3 fix(Core/Quest): Mr.Floppy's Perilous Adventure fix (#1314) 2019-01-19 12:07:26 +01:00
Francesco Borzì 043b9691ab Fix server motd (#1319)
* fix: server motd

* add new lines at the end of files

* fix build
2019-01-19 11:53:52 +01:00
Travis CI 9acca7bc99 Importing pending sql 2019-01-19 10:52:54 +00:00
ColdIronWow 7bf1167b53 Core/Instance: Naxxramas conversation fix (#1304)
* Resolve Issue 1138
* Move sql update to a single line
Co-Authored-By: ColdIronWow <46758545+ColdIronWow@users.noreply.github.com>
2019-01-19 13:49:08 +03:00
Stoabrogga 0e495e9698 DB/SAI: Add event after finishing quest "Alien Egg" (#1303)
* add event after finishing quest "Alien Egg"

* remove elite rank from Young Arikara
2019-01-19 13:48:01 +03:00
FrancescoBorzi 0411cc9c21 fix build 2019-01-19 10:23:23 +01:00
FrancescoBorzi 5e08b2b8d9 add new lines at the end of files 2019-01-19 02:55:10 +01:00
FrancescoBorzi 97ae1496a7 fix: server motd 2019-01-19 02:48:00 +01:00
Francesco Borzì ccaa74a9a7 (chore) Removed broken Coverity badge from Readme
we will add it back when Coverity will be working again
2019-01-18 23:07:05 +01:00
Kargatum d82d6ba20d refactor(sql): Split big update file into smaller ones 2019-01-18 22:38:42 +01:00
Dmitry Brusenskiy 1952b2fbfb Core/Packets: Fix calendar event time (#1289)
No more -3 hours shift when creating events in the calendar.

Closes #1287
2019-01-18 14:43:12 +01:00
Francesco Borzì 62b05683f5 fix(docker) .env.dist paths format (#1312) 2019-01-17 20:39:32 +01:00
FrancescoBorzi 860521538d docker-simplify-database-dockerfile 2019-01-17 20:08:02 +01:00
Francesco Borzì f2a37485fa Docker/Scripts: fix file permissions 2019-01-17 19:00:58 +01:00
Vitoco c9c9007015 Core/Spells: Fix DeathKnight T10 Tank 2P Bonus (#1291)
Now correctly increase the damage done by your Death and Decay ability by 20%
2019-01-17 18:53:05 +01:00
Francesco Borzì b578bce1d1 Make the Docker installation easy
See: https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker
2019-01-16 20:44:02 +01:00
José González 7599624fdf [CI] Make Travis only import pending sql from master branch (#1297) 2019-01-16 16:10:08 -03:00
Francesco Borzì b9d14372fd chore: Update copyright note (#1292) 2019-01-16 15:59:02 +01:00
Francesco Borzì b824154722 Fix sql updates chain 2019-01-16 11:32:59 +01:00
Francesco Borzì 3e0866cfe1 Added Jetbrains to .gitignore & readme 2019-01-15 21:10:06 +01:00
José González a4d8134e38 Core/Commands: Add new spy command (#1263)
Add a new spy command for game masters and administrators to receive all conversations of followed players.

How to use:

- Use command .spy follow <characterName> with a GM 
- Make that player whisper another player
- You (GM) should receive the message sent
- Use command .spy status. You should get a list with the test subject's name in it.
- Use command .spy unfollow <characterName>
- You should not receive any more messages sent or received by that player


* Core/Commands: Add new spy command
* Importing pending sql
* Fix missing comma in SQL
* Fix travis compile: comment unused parameter
2019-01-15 15:47:14 -03:00
Travis CI 55d006c16d Importing pending sql 2019-01-15 17:32:51 +00:00
Stoabrogga 98a3990d94 DB/SAI: Fix Arakkoa Egg (#1280)
Prevent the Arakkoa Egg (template ID 20214) from following the player
Arakkoa Egg will now cast Arakkoa Egg Debuff (ID 35788) if the player is within 6 yards range

Closes #1209
2019-01-15 18:30:15 +01:00
Francesco Borzì 27ea9c3f95 Core/MySQL: wait for the DB to be ready (#1286)
* Core/MySQL: wait for the DB to be ready
- Closes #1285

* Fix build on windows
2019-01-15 13:52:54 +01:00
Poszer d5294f7112 Merge pull request #1255 from poszer/QuestAbandonFinishFix
Quest abandon finish fix
2019-01-15 13:52:26 +01:00
FrancescoBorzi 57f6a44082 Fix build on windows 2019-01-15 08:46:07 +01:00
Poszer 6ef7c40313 Update Player.cpp 2019-01-15 00:48:54 +01:00
FrancescoBorzi e5ad0165b3 Core/MySQL: wait for the DB to be ready
- Closes #1285
2019-01-14 23:21:50 +01:00
Francesco Borzì 81fe5482a1 Fix DB import issues (#1283)
- Closes #1278
- Closes #1281
2019-01-14 23:11:50 +01:00
Travis CI c90afdd9e2 Importing pending sql 2019-01-14 08:29:08 +00:00
Poszer c573c60a0f DB/Quest Going Bearback (#1267)
-Fix client crash while ussing arrows in quest, and pressing Esc.
-Updating creature spells ( Correct is to have Flaming Arror and Burst of Speed )
2019-01-14 11:26:58 +03:00
Poszer 0dfda71c8b DB/Quest The Lord of Blackrock (#1254) 2019-01-14 11:26:11 +03:00
Kargatum 66b9f007ea Core/Reload: Delete useless lines for achievement_reward_locale (#1277) 2019-01-14 11:24:45 +03:00
Francesco Borzì 3b281e27ce Docker: fix connectivity issues on Mac & Windows (#1275) 2019-01-13 15:32:57 +01:00
Kargatum 93bccb9b85 Core/Gossip: improve gossips related to Dual Talent Specialization (#1218) 2019-01-13 17:16:09 +03:00
Travis CI 4983cc1cbc Importing pending sql 2019-01-13 13:38:10 +00:00
Poszer 4480c95b6f Merge pull request #1245 from poszer/UlagtheCleaverQuestFix
DB/Quest Ulag the Cleaver
2019-01-13 14:36:18 +01:00
FrancescoBorzi ceb82e3506 Merge branch 'master' into UlagtheCleaverQuestFix 2019-01-13 12:41:13 +01:00
Francesco Borzì 36c6d7438e CI: fix travis build (#1274) 2019-01-13 12:10:24 +01:00
Francesco Borzì 2c1c35fd16 Create .gitkeep 2019-01-13 02:40:07 +01:00
Francesco Borzì 0e87deb416 Several improvements to Docker:
- ability to reload configuration files without building again the images
- faster images building
- corrected a mistake
- logs are saved to the main host
2019-01-13 02:38:04 +01:00
Poszer 2fea4fea8b Update rev_1546933586341240000.sql
Changed game object GUID
2019-01-13 01:35:47 +01:00
Francesco Borzì 05d03747be Fix bad copy paste in docker README.md 2019-01-13 00:27:29 +01:00
Travis CI dabf4f5f8e Importing pending sql 2019-01-12 22:58:13 +00:00
Kargatum b34bc28e5b Core/DB: Update all locales to actual TrinityCore (#1160)
* Core/Misc Update all locales table structure to simple system. Port from TrinityCore
Co-Authored-By: Winfidonarleyan <dowlandtop@yandex.com>
* Core/Db/Gossip Update structure gossip_menu and gossip_menu_action to actual TrinityCore
* Core/DB Update Broadcast system to actual TC
* Core/Mail: implement Quest Mail Sender
* Core/Quest Split quest template locales
2019-01-13 01:56:06 +03:00
Stefano Borzì 76772e434d Fixed permission in docker-database (#1272) 2019-01-12 23:39:17 +01:00
Francesco Borzì 1dae236cf0 Update Docker README.md
Since some users are already doing it wrong...
2019-01-12 23:16:05 +01:00
Francesco Borzì c638fc3b6a Update README.md 2019-01-12 22:16:31 +01:00
Francesco Borzì 7bff043a1b AzerothCore complete Docker solution
Check https://github.com/azerothcore/azerothcore-wotlk/tree/master/docker for all details.
2019-01-12 21:48:33 +01:00
Viste(Кирилл) e7dafc18d2 MySQL: fix MySQL 5.6 find mistake (#1268) 2019-01-12 16:02:59 +03:00
Kargatum 8e7fb1a38a DBAssembler: Fix incorrect apply sql files at import (#1252) 2019-01-12 12:53:49 +03:00
Travis CI b16bb23ef7 Importing pending sql 2019-01-12 09:51:59 +00:00
Stoabrogga cbb21c5b74 DB/SAI: fix Sen'Jin Fetish (#1266) 2019-01-12 12:50:25 +03:00
Travis CI a4c8e98d1f Importing pending sql 2019-01-10 21:14:29 +00:00
Kargatum d60cd1ced6 DB/Graveyard: Translate comments to English language (#1246) 2019-01-10 22:12:10 +01:00
Vitoco bb34d1b90a Core/Spell: Val'kyr Target Search bypass invuln (#1229)
This spell now bypass invulnerability.
Fix players using Hand Of Protection to prevent selection from valkyrs.
2019-01-10 14:30:42 +01:00
Poszer e993c20cac Update Player.cpp 2019-01-10 13:35:54 +01:00
Poszer ffd578559a Update Player.cpp 2019-01-10 13:23:46 +01:00
Poszer 13c854c345 DB/Quest Ulag the Cleaver
Update: Way path is correct now
2019-01-10 11:52:31 +01:00
Kargatum c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03:00
Francesco Borzì 82baf637f6 Update docker README.md 2019-01-10 01:31:14 +01:00
Francesco Borzì 1c116c2902 Dockerize AzerothCore Database 2019-01-10 01:14:23 +01:00
Poszer cfa2f86a0d Merge pull request #1241 from poszer/QuestAbandonFinishFix
Core/Quests: Abandon&Finish quest items
2019-01-09 19:58:57 +01:00
Stoabrogga 0be44221d2 Core/Pet: additional check if it's a creature (#1248) 2019-01-09 20:51:27 +03:00
Travis CI 7a3a9a81b4 Importing pending sql 2019-01-08 16:19:35 +00:00
Poszer c07bba17e5 DB/Creature Vile Fin & Ragged Scavenger fix (#1243)
Co-Authored-By: Maurowin <maurowin@users.noreply.github.com>
Co-Authored-By: Alan <sr.alansantos@hotmail.com>
2019-01-08 19:16:07 +03:00
Travis CI 4571588031 Importing pending sql 2019-01-08 13:17:56 +00:00
Viste(Кирилл) 31bce00b2a Core/Events: announce event system improvement. (#1228)
* DB: update timestamps for #1187
2019-01-08 16:15:38 +03:00
poszer cfef52d190 Update zone_tirisfal_glades.cpp
Removed script
2019-01-08 13:48:11 +01:00
poszer 2c056116d0 DB/Quest Ulag the Cleaver
Move Ulag the Cleaver to SAI
2019-01-08 09:00:47 +01:00
Travis CI 2f5653c24f Importing pending sql 2019-01-08 06:39:05 +00:00
Kargatum 1a9f8dfc0c Core/DBC Move WorldSafeLocs.dbc storage to DB (#932) 2019-01-08 09:37:31 +03:00
Stoabrogga 3d416de893 Core/Movement: Prevent pet animation stuttering during movement (#1142)
* fix vanity pet distance and angle
* fix vanity pet distance to player
* put size calculation for normal pets into the if-statement for vanity pets
* change pet speed algorithm
* change distance calculation
* another change to the distance calculation; differentiate between player running or flying
2019-01-08 09:36:25 +03:00
Viste(Кирилл) f852a87f9c Core/Session: proper client timeout detection (#1232)
* Core/Session: proper client timeout detection

- Properly detect client timeout when logged into a character after a configurable time (default 60s) has passed without the client sending any packets.
- Fixes issues with crashed clients leaving characters in the world for a very long time (default 15 minutes), as well as edge case exploits involving intentionally pausing client execution for some amount of time.
2019-01-08 09:33:24 +03:00
Barbz 09fa4c515b Apps: Add backticks to version_db_* in create_sql.sh (#1244)
So people don't add the backticks manually and waste time.
2019-01-07 22:43:11 +01:00
poszer d213a4ef93 Core/Quests: Abandon&Finish quest items
Destroy quest items on quest failure/abandon.

Failing/abandoning a quest should not unconditionally remove required items, non-quest specific items such as crafting reagents should remain in inventory.

Delete all quest bound items on quest reward, failure or abandoning.

Only delete all quest bound items from inventory on turn in if the quest is not repeatable
2019-01-07 18:13:47 +01:00
Travis CI b5d56462e2 Importing pending sql 2019-01-07 11:22:07 +00:00
Poszer 9bf56aa124 Core/Quest: Mr.Floppy's Perilous Adventure Quest (#1158) 2019-01-07 14:19:56 +03:00
Nefertumm e51fe9e081 Core/Misc: add support to calculate zoneId/areaId for creatures & gameojects (#1226) 2019-01-07 12:07:05 +03:00
Travis CI 5ad58353f2 Importing pending sql 2019-01-06 17:53:51 +00:00
Stoabrogga c019214a3f DB/Core: Proper hover height + flying animations for vanity pets (#1237)
Fix hover height and some animations of vanity pets
The smart script for the Wind Rider Cub can also be used for the Gryphon Hatchling.
2019-01-06 18:52:06 +01:00
Travis CI 554910aa6d Importing pending sql 2019-01-06 16:57:35 +00:00
talamortis 247bb8f7bd Update waypoints for black knight in Trail of the champion to be more blizzlike.
closes: #1072
2019-01-06 16:55:38 +00:00
Travis CI 9a36f5957b Importing pending sql 2019-01-06 06:34:18 +00:00
Viste(Кирилл) 3f45c14822 Core/Quest: implement Quest Tracker (#1233) 2019-01-06 09:32:17 +03:00
Travis CI 3c14bd0faa Importing pending sql 2019-01-05 20:21:50 +00:00
Viste(Кирилл) 41adf1539f MySQL: account table restructure (#1230)
* DB/auth: change last_login to NULL instead of invalid date and up email colum to varchar 255 from 254
2019-01-05 23:20:12 +03:00
Viste(Кирилл) aa949479d7 MySQL: refuse any version of MySQL, below 5.6 (#1227) 2019-01-05 02:22:54 +03:00
Travis CI 248435a29c Importing pending sql 2019-01-04 17:25:56 +00:00
Stoabrogga 5c037215f5 DB/Creature: Fix pet Sen'jin Fetish model (#1208) 2019-01-04 18:23:48 +01:00
Travis CI 6cd70a36a9 Importing pending sql 2019-01-03 17:46:10 +00:00
Stoabrogga f6055da02e DB: Flying pets can follow player on flying mount (#1212)
For vanity pets
2019-01-03 18:44:02 +01:00
Nefertumm 59d4e1d3a8 Core: Vmaps update 4.3 (#1021)
Vmaps update from 4.2 to 4.3
2019-01-03 18:27:11 +01:00
Travis CI 676d5cd431 Importing pending sql 2019-01-03 14:03:28 +00:00
Francesco Borzì 5096a3db87 Update creature & gameobject table structure (#1219) 2019-01-03 15:01:14 +01:00
Francesco Borzì b6d5a4a504 Improve issue template 2019-01-01 22:56:03 +01:00
Travis CI 0e16853157 Importing pending sql 2018-12-31 17:30:32 +00:00
Poszer 9aa6770c89 DB/SAI: Quest Forge Camp Annihilated (#1146)
Fixed Quest Forge Camp Annihilated: The Canons now shoot the camps

Updated SAI Script
Updated Creatures ( Problem with LOS Targeting ) - Moved to Clear positions where can be targeted.
Creature 68741 ( Fel Cannon - Fear Target )
Creature 68742 ( Fel Cannon - Hate Target )


Closes #1077
2018-12-31 18:28:30 +01:00
Francesco Borzì 2c539c07ae Core/World: do not consider error when no player data in the DB (#1151) 2018-12-30 18:36:07 +01:00
Travis CI 9591fa9d4e Importing pending sql 2018-12-29 14:13:39 +00:00
Poszer 585d293de4 DB/NPC: Quartermaster Bartlett can now repair (#1149)
Added repair option to gossip menu of Quartermaster Bartlett
2018-12-29 15:11:30 +01:00
Travis CI 008f16fac2 Importing pending sql 2018-12-28 18:26:21 +00:00
Poszer 4419409b16 DB/SAI: fix Ward of Laze creature (#1145)
Prevents totem from moving, attacking in melee and it now correctly attacks player.
Closes #1093
2018-12-28 19:24:20 +01:00
Travis CI ccb925b856 Importing pending sql 2018-12-27 20:57:13 +00:00
Viste(Кирилл) 7648858939 Core/LootMgr: Update lootMgr to normalize loot_template tables (#1137)
* Core/LootMgr: Update lootMgr to normalize loot_template tables 

original by trinitycore team
2018-12-27 23:55:15 +03:00
Francesco Borzì 94d8476e48 Core/Guilds: fix gcc compile warnings (#1150)
- Closes #1148
2018-12-27 01:45:03 +03:00
Travis CI 84c0bf6961 Importing pending sql 2018-12-26 17:41:46 +00:00
zeb139 ead21e2176 DB/Players: Apprentice Riding to Death Knight on creation (#810)
Added Apprentice Riding (33388) spell to Death Knight playercreateinfo_spells
2018-12-26 18:39:46 +01:00
Poszer b1b48b92df CORE/Crash: Fix crash with MoveSpline [hacky] (#1066)
Closes #1063 
Closes #552 

Co-authored-by: grimgravy<sr.alansantos@hotmail.com>
2018-12-25 21:48:17 -03:00
Barbz d167890b3f CORE/Movement: Fix a potential crash with a player out of bounds. (#970) 2018-12-25 21:42:27 -03:00
Poszer db25b814e2 Core/Spell: Hand of Reckoning kills totem & puts in combat (#1139)
Closes #626
2018-12-25 19:39:02 +01:00
Travis CI 2d575299d3 Importing pending sql 2018-12-23 14:00:42 +00:00
Viste(Кирилл) 204358bb67 Core/Players: Fixed saving quest item progress (#1129)
Ported from TC (original commit by Shauren)

Add 2 columns to character_queststatus
2018-12-23 14:58:21 +01:00
Travis CI fffb925201 Importing pending sql 2018-12-22 16:18:53 +00:00
Poszer 2455501b75 DB/Creature Add missing pet trainer / NPC text (#1115) 2018-12-22 17:17:01 +01:00
Stoabrogga 380c236479 Scripts/Quest: fix 12733 Death's Challenge (#886) 2018-12-22 17:01:35 +01:00
Francesco Borzì 9a9f44549d Change badges order in README.md 2018-12-22 14:11:43 +01:00
Francesco Borzì 877e1f0716 Fix Coverity badge layout by converting to md 2018-12-22 14:07:11 +01:00
Francesco Borzì 73c584af5c Remove broken badge from README.md 2018-12-22 14:03:47 +01:00
Barbz 54a6817bbb Core/Achiev: Fix unwanted GM warnings (#1122)
* Core/Achiev: Fix unwanted GM warnings

It now only warns the player that he can't complete achievements.
2018-12-22 11:08:05 +01:00
Travis CI eb7d78ffb0 Importing pending sql 2018-12-21 19:00:02 +00:00
Poszer 87716fd3cb DB/Quest: Escape Through Force & Stealth. (#1100)
Closes #189 #905 #904 #190
2018-12-21 15:58:03 -03:00
Francesco Borzì a0595b73e3 CI: Update Ubuntu version of travis build to xenial (16.04) 2018-12-21 14:37:57 +01:00
Stoabrogga ffa7b7a286 DB/Quest: "The Endless Hunger" fix second talk text. (#867)
Bugfix quest "The Endless Hunger": Wrong source for second talk text.
2018-12-20 13:08:47 +01:00
Francesco Borzì b09ace1013 Add Installation & Support section in README.md 2018-12-19 19:00:27 +01:00
Barbz 51086f2dcd Modules: Added create_module.sh script to kickstart module creation (#1071)
Helps people to create modules with the right base files.
2018-12-19 18:03:27 +01:00
Travis CI 840642fa57 Importing pending sql 2018-12-19 12:48:58 +00:00
Nefertumm 468faa3ead Refactored quest_template table structure 2018-12-19 13:47:24 +01:00
Nefertumm 4255b986d6 DB/Typo: Fix column name
Causing DB not updating further sql changes.
Closes #1127 
Thanks @wetbrownsauce
2018-12-18 15:51:29 -03:00
Francesco Borzì 0ed3d25759 Added Stackoverflow badge in README.md 2018-12-18 15:13:33 +01:00
Viste(Кирилл) 4a52df6375 Core/Build: Fix windows build for recent OpenSSL versions (#1065)
Closes #1047
2018-12-17 20:09:53 -03:00
Trystanosaurus 74e8e79e54 Gruul: Add a minimum cooldown for Cave In (#893) 2018-12-17 16:46:34 -03:00
Poszer fd696c6475 Core/Instance: Blackrock - Warchief Rend Blackhand
This will fix the next issues:
- Waves of mobs spawning during Blackhand fight.
- Door conflicts.
- Boss can't be pulled after killing the 3rd wave.

Closes #536
2018-12-16 15:34:31 -03:00
Travis CI b6aa6a9505 Importing pending sql 2018-12-16 15:07:57 +00:00
Poszer 30e1b9c059 DB/QUEST/OUTLAND - Deathblow to the Legion (#1109)
Added missing Quest Credit's

Closes #470
2018-12-16 16:05:59 +01:00
Amin.MasterkinG 4bd1330b6e Core: Fix titles not showing on login (#1114)
Wrong field ID fixed.

Closes #1059
2018-12-13 16:43:43 +01:00
Nefertumm f41899e690 Tabs from the last commit. 2018-12-12 02:19:37 -03:00
Amin.MasterkinG 8c753dc04e Update PINFO command, show character details like TrinityCore. (#1097)
Closes #1067
2018-12-12 02:08:12 -03:00
Chaz 8906d1ea26 Enable SourceType of 8 for Disables table to disable LFG/LFD maps (#1076) 2018-12-11 03:54:15 -03:00
Travis CI 06b189deb6 Importing pending sql 2018-12-11 05:56:12 +00:00
Nefertumm f9bdf86c6d DB/Quest The Ring of Blood (#1102)
Closes #1056 .
2018-12-11 02:54:21 -03:00
Travis CI 20975c7298 Importing pending sql 2018-12-11 05:49:44 +00:00
Nefertumm c4a1990acf DB/Quest Steamtank Surprise (#1104)
Closes #1008
2018-12-11 02:48:05 -03:00
Travis CI 007140ffb7 Importing pending sql 2018-12-09 15:17:35 +00:00
poszer 4a66a75225 DB/Signs Correct road signs
Updated road signs to correct positions
2018-12-09 16:15:47 +01:00
poszer 4072167d0f DB/Quest Steamtank Surprise
Fix for the Quest and Vehicles
2018-12-09 15:44:09 +01:00
poszer d2b223ef4c DB/Quest The Ring of Blood
Fix for goals of quest "The Ring of Blood: The Blue Brothers
2018-12-09 08:45:30 +01:00
Barbz b8d2396398 Core/Achiev: Warning if GM mode enabled (#1028)
* Core: Achievements warning if GM mode enabled

Added a warning ingame and in console when you're a GM testing achievements (else it was confusing).
Added an extra type check in UpdateAchievementCriteria, ported from TrinityCore.
2018-12-08 23:02:41 +01:00
Barbz b1b02e0328 Core/Script: BRD needs to light 2 braziers to open the doors (#1069)
Before, it required to light only 1 brazier to bypass the Lyceum.

http://wowwiki.wikia.com/wiki/Shadowforge_Torch
2018-12-05 16:28:56 +01:00
Dmitry Brusenskiy 1320cc21cf Core: feature add 2FA (OTP) (#1054)
Add 2 factor authentification for improved security on your websites/apps.

Taken from TrinityCore

Closes #1049 on github.
2018-12-04 19:18:23 +01:00
Rochet2 45431a8a15 Fix import error for the SQL (#1092)
ERROR 1253 (42000) at line 41: COLLATION 'utf8mb4_bin' is not valid for CHARACTER SET 'utf8'
2018-12-03 08:21:13 +00:00
talamortis a9b981d619 [Core / Fix] Fixed an issue if charmed creatures was created by spell they wouldn't disappear if owner was too far away from it.
Lets take quest Taming the beast for example, Once beast was tamed and player was too far away from the creature it would still appear as a pet and cause issues.
2018-11-30 00:27:32 +00:00
talamortis 50aace0e52 [Core / Fix] Mage: Empowered Fire Talent
Fixed an issue where the Mana return was returning 0.2% instead of 2%.
2018-11-29 19:49:47 +00:00
Walter Pagani 914013cd88 Core/NPC: Deathstalker Faerleia text translatable in the DB (#1070)
Deathstalker Faerleia text can now be translated in the DB
2018-11-28 20:59:26 +01:00
Travis CI d55c44c74d Importing pending sql 2018-11-25 15:31:44 +00:00
Poszer e7813f9f75 DB/NPC: fix Darnassus shield merchant missing equipment in hand (#1089)
Added missing equipment (wooden staff as on wowhead screenshot).

Closes #1084 on github.
2018-11-25 16:30:05 +01:00
Travis CI d34e5329df Importing pending sql 2018-11-24 17:44:29 +00:00
Stoabrogga 8018e759a1 DB/SAI: fix tortured skeletons in Shadow Labyrinth (#1088)
Fix tortured skeletons in Shadow Labyrinth.
Set MovementType to 0 for affected skeletons.
2018-11-24 18:42:49 +01:00
Jinyang li f2f3872c25 CORE/Spell: add diminishing returns on reflected spell. (#1050)
Fix "Spell which is reflected doesn't create DR on whom is casting the spell"
Now warrior would not add diminishing returns if he reflect spell (code may be a bit hacky)

Closes issue #650 on github
2018-11-23 22:39:30 +01:00
Travis CI f49e651107 Importing pending sql 2018-11-22 14:24:06 +00:00
Poszer a2c8522a1a DB/Quest: fix OfferRewardText for The New Horde (#1087)
Replacing wrong Offer Reward Text
2018-11-22 15:22:21 +01:00
Travis CI fc4b52b036 Importing pending sql 2018-11-15 23:18:33 +00:00
Poszer 398904a35b DB/Strings: Improve permaban string (#1074)
Add missing "Reason:" to the string.
2018-11-16 00:16:15 +01:00
Jinyang li 4b6342b42f Core/NPC: Creatures now alert when they detect stealthed players (#1060)
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
Stoabrogga 59f0d086a6 Core/Script: Add sounds to quest "Let the Fires Come!" (#1061)
Add voice sounds for the Headless Horseman during quest "Let the Fires Come!"
2018-10-30 15:02:14 +01:00
Barbz f40dc23242 Core/Conf: Typo in MaxPrimaryTradeSkill desc
Wrong number of primary professions in worldserver.conf
2018-10-28 18:57:13 +01:00
talamortis 7ffc68e4aa Added missed copyrights to CreatureGroups.cpp 2018-10-27 21:28:37 +01:00
talamortis 1fd6b4cff5 [Core / Spell ] Warlock Life Tap
Fixed an issue where warlock could kill itself using max rank till fizzled and then low rank.
2018-10-27 21:03:34 +01:00
Barbz 879553ddf8 Core/Conf: Fix StartAllReputation from player.cpp (#973)
Remove StartAllReputation from player.cpp
Move StartAllReputation to handler
Add the config back
2018-10-23 19:39:14 +02:00
Barbz 03d0c6a360 README - Removed a dead badge 2018-10-21 19:06:59 +02:00
Travis CI 57425fcf58 Importing pending sql 2018-10-17 22:08:56 +00:00
Pondaveia e8aff9feac Core/Scripts: Unify GOB commands (#1037)
- Unify game object related GM commands
- Add deprecation notice to old commands

Closes #1019
2018-10-18 00:07:05 +02:00
Travis CI 2907a1f3bc Importing pending sql 2018-10-16 17:53:19 +00:00
Trystanosaurus 0f68c7c96b DB/GOBs: Set pools for Ghostlands Mining (#895)
Sets pools for Ghostlands mining, each node has a 60% chance of copper, 30% chance of tin and 10% chance of silver.

Closes #781
2018-10-16 19:50:27 +02:00
Travis CI 1503f7c07e Importing pending sql 2018-10-15 18:38:41 +00:00
Stoabrogga 798bee27ee DB/NPC: Set correct gossip ID for zeppelin masters (#907)
set correct gossip menu ID for Squibby Overspeck (NPC 12137):
old: 1969 (belongs to Frezza)
new: 3842

set correct gossip menu ID for Nez'raz (NPC 3149):
old: 1971 (belongs to Zapetta)
new: 2441

removed gossip menu options 1969 and 1971 ("Where is the zeppelin now?"), as this functionality is not implemented and the option only existed for Frezza and Zapetta
2018-10-15 20:36:55 +02:00
Barbz 69840392c4 CORE/conf: Note about MaxCoreStuckTime danger
Warning note to avoid stupid crashes.

https://github.com/azerothcore/azerothcore-wotlk/issues/1042
2018-10-14 23:49:23 +02:00
Travis CI 3471692114 Importing pending sql 2018-10-13 14:37:44 +00:00
Pondaveia 24034776e9 DB/SAI: Add missing scripts to most Silithus mobs (#1031)
Fix missing many creatures not scripted in silithus

Original Author: https://github.com/ZenoX92
https://github.com/TrinityCore/TrinityCore/issues/20491
2018-10-13 16:36:02 +02:00
Travis CI c71500a6a0 Importing pending sql 2018-10-05 14:14:27 +00:00
Stoabrogga a42f16363f DB/Creatures: Pathing for kodos; random movement for gazelles
Missing waypathes for Kodos and gazelles in the barrens (notably south barrens)

PR #913
Closes #444
2018-10-05 16:12:36 +02:00
Travis CI f2d16c3003 Importing pending sql 2018-10-02 21:32:53 +00:00
Stoabrogga b9d963867d fix(DB/Dungeon): Pit of Saron intro texts
Set correct broadcast IDs for creature texts during the Pit of Saron intro for Horde and Alliance
2018-10-02 23:31:15 +02:00
Barbz 1d5407a9d9 Revert "Core: Better fix for stuck at "Retrieving character list"" (#1040)
This reverts commit c4a6445a23.
2018-09-30 01:05:51 +02:00
talamortis 841f4fea59 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-09-28 18:33:57 +01:00
talamortis c4a6445a23 Core: Better fix for stuck at "Retrieving character list"
also fix instance lock always delayed and never expiring

close: #966
2018-09-28 18:33:17 +01:00
Travis CI f7c71068f9 Importing pending sql 2018-09-26 21:25:50 +00:00
Pondaveia 5012caae12 DB/Conditions: Meridith gossip fix (#1035)
Shows right text
Cast spell
2018-09-26 23:24:00 +02:00
Travis CI 2425ada9da Importing pending sql 2018-09-24 19:15:25 +00:00
Barbz 7d9591c3ad DB: Grimtotem Naturalist fix (PR #1034)
DB: Grimtotem Naturalist now acts correctly in tauren form and bear form and is not stuck anymore doing nothing
2018-09-24 21:13:40 +02:00
BarbzYHOOL 368f187a42 Conf - UseProcessors option explained
A bit more detailed example to understand bit masks
2018-09-23 21:17:18 +02:00
talamortis b68354858f Mirror image Update
Mirror images no longer run to their follow position before start casting

close: #730
2018-09-23 13:54:26 +01:00
Pondaveia bf1690aed6 grimtotem fix 2018-09-23 12:28:54 +01:00
d3tr0l 4f2c6fcc31 [Core/Script] Fixed the amount of mana gained from Life tap
Patch 3.3.3: Life Tap: This spell no longer scales with spirit, and instead scales with spell power.
2018-09-20 19:18:27 +01:00
talamortis e715dd3f61 Core/Script: Warlock lifetap's damage
Fixed warlocks Lifetap todo the same damage as displayed on tooltip.
2018-09-20 18:24:38 +01:00
Travis CI 4cb2e267fa Importing pending sql 2018-09-17 18:02:12 +00:00
Kargatum 0d6eb11db9 Core/Account: Add total time played in account (#1003)
This saves the total time played on the account, even if your characters have been deleted.
2018-09-17 19:58:42 +02:00
root 82ca2bef99 fixed query of previous commit 2018-09-17 14:27:50 +00:00
Yehonal 3bf937d2ea Fixing db importing with new mysql 5.7 installations 2018-09-17 13:07:59 +00:00
Yehonal a8e848b054 updated client data downloading url 2018-09-17 12:40:43 +00:00
Barbz 9d2fa9a8c9 db_assembler - Readme
Default location of the merged files
2018-09-14 17:50:42 +02:00
Stoabrogga 205e8eb14e Log unused config options (#999)
Now fixed
2018-09-08 20:26:28 +02:00
Barbz fa65a8070a DB/Characters: Remove unused tables "uptime" and "cheaters" (#1000)
* DB/Characters: Remove unused tables "uptime" and "cheaters"
2018-09-03 22:40:38 +02:00
Barbz 4a9e3f190a issue_template.md - Reorganisation
Switched "current behaviour" with "expected behaviour" because it makes more sense
2018-08-27 16:10:56 +02:00
Travis CI f66e0dc99e Importing pending sql 2018-08-26 19:27:13 +00:00
Stoabrogga 2af151c971 Fix world server crash when using the Atal'ai Statue (ID 148833) in Sunken Temple 2018-08-26 21:25:36 +02:00
Yehonal 564d2e8eb7 [Bash] fixed menu header display 2018-08-24 10:16:24 +02:00
Travis CI ddc8a1ae6e Importing pending sql 2018-08-19 23:22:22 +00:00
Dunjeon 7dce384d33 MissingCreatureTexts
2.5k unique creature_text database entries extracted from TC
2018-08-20 01:20:35 +02:00
Travis CI ac06be129d Importing pending sql 2018-08-13 13:48:38 +00:00
Barbz 99b534ddaf Core/Commands: .npc set faction fix and improvement (#1001)
Fix error message in console, and add help text for new 'npc set faction' command
2018-08-13 15:46:42 +02:00
Stoabrogga c369ba44e6 fix error message and help text for new 'npc set faction' command 2018-08-12 23:16:01 +00:00
Barbz 334a0f3e2c Cmake: Custom cmake options now read (#989)
fix: config.cmake not work.

"EXISTS" cannot use relative paths.
2018-08-06 15:56:30 +02:00
BarbzYHOOL 4d7c06c304 Revert "Show default options, missing in config files (#908)"
This reverts commit f122ed57bf.
This commit created a critical errors and made the core instable. The feature should be reimplemented in a better way.
2018-08-05 20:49:51 +02:00
Barbz 3e914957db Fix travis + compiler script (#997 from Stoabrogga/compiler)
Exit compiler script if any statement returns non-zero exit code
2018-08-05 19:15:27 +02:00
Stoabrogga c3ecdf751d add "set -e" also to script "db_assembler.sh" 2018-08-05 15:10:03 +00:00
Stoabrogga 5278e96aca ignore exit code of 'make clean' as it won't find a Makefile if called as first action (which is the case for "compiler all") 2018-08-05 04:55:47 +00:00
talamortis a47876ebd9 Updated custom commands made. 2018-08-05 00:52:10 +01:00
talamortis cbf7bc2d3f Updated code for New config.
*enable/disable Minigob Manabonk
*Put the config option in the wrong part, changed from int to bool.
2018-08-05 00:50:24 +01:00
Stoabrogga 287b2010ea exit compiler script if any statement returns non-zero exit code 2018-08-04 22:50:16 +00:00
talamortis ccb3e8c2a4 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-07-29 23:09:07 +01:00
talamortis 78e1407f7a New config option added
- Added config to enable/disable Minigob Manabonk.
 - Dalaran Wintergrap mage no longer yells if the event has been disabled.
2018-07-29 23:08:56 +01:00
ayase 69e663510e fix: config.cmake not work. 2018-07-29 00:27:38 +08:00
FALL1N1 c6be57c232 Move preloading in the continent transport check 2018-07-28 01:43:23 +02:00
Kartselyanski 1f51bf41cd And another one... 2018-07-28 01:43:23 +02:00
Kartselyanski 21aae9eec5 Should be out of the check. 2018-07-28 01:43:23 +02:00
Kartselyanski ea8c85c886 Make the continent transport and preloading optional. 2018-07-28 01:43:23 +02:00
Anthony Gauthier 5f4ab8fe44 Simple README error fixed 2018-07-26 20:36:03 +02:00
talamortis 4e27109cea Fixed crash issue with death grip from previous commit.
*Tested on both Windows and Linux system.
2018-07-22 12:08:52 +01:00
talamortis 295f461fdd Added the commands into a sub table
Now

.npc set faction temp (id)
.npc set faction original
.npc set faction perm (id)
2018-07-22 00:37:43 +01:00
talamortis e36dac4258 added two more commands to .npc set
* .npc set tempfactionid (35) - will changed the selected npc faction but will not save it.

* .npc set originalFaction - will restore the correct faction from the npc faction template in the DB.

closes #706
2018-07-22 00:23:39 +01:00
talamortis 562833c9d6 Fixed Glyph Learning.
* Fixed an issue where if players learn a glyph in spec 1 the same glyph couldnt be applied in spec 2.

closes #739 #411
2018-07-21 23:38:33 +01:00
talamortis bdbdc8030a Update Death Grip
* Added another check to Death grip to ignore some boss ids, as need for some faction champions in argent crusade.

closes #982
2018-07-21 22:22:59 +01:00
ayase d29a1a3300 Core: Easy module conf creation & reload (#931)
* Change the read method of the config of the module.Developers can now easily read the config file in cmake.

e.g. AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/my_first_module.conf.dist")

* Update Master.h

* Update cs_reload.cpp

Command: `.reload config` can now reload the config file of all modules #981
2018-07-19 21:50:29 +02:00
talamortis 8b1f2ece8a Fixed Typo
*Fixed typo on custom hook.
2018-07-18 19:48:44 +01:00
talamortis a5a130b95a Added Hook
* This hook can be used to cache module database tables.
2018-07-18 13:12:30 +01:00
Yehonal 8767372ebf Distro information when install OS deps 2018-07-17 17:27:17 +02:00
Yehonal 114f37801c Missing unzip dep for client data downloader 2018-07-17 17:27:17 +02:00
Yehonal 3fb937f003 Fixed simple-restarter script 2018-07-17 14:56:13 +00:00
Stoabrogga 8e9faf8488 Revert WMO changes (#976) 2018-07-17 14:27:42 +01:00
Yehonal 8255f78f8a Missing curl package in unix os deps 2018-07-17 13:57:55 +02:00
Yehonal af5256cd5b Various fixes to acore dashboard
+ simple restarter now prevents infinite crash loops
+ client data downloader now uses github releases and fixed downloading path
+ module updating now take care about compatibility version info
+ disabled CONFDIR variable in bash conf file, using BINPATH by default instead
2018-07-17 13:54:23 +02:00
Kartselyanski 113ac06929 Ahn'Kahet: Amanitar should cast the fungus only on players without "Mini" aura. 2018-07-17 00:01:09 +02:00
Travis CI 9bbb1b10e0 Importing pending sql 2018-07-16 16:10:50 +00:00
MajorDOT dfd00ff897 DB/Script: Fix Captain Dranarus sound range
Fix by:
https://github.com/offl
2018-07-16 18:08:57 +02:00
Yehonal 32f215805a Fixed libssl-dev for latest ubuntu revs on deps installer 2018-07-15 23:44:58 +02:00
Yehonal afbe059d5a fixed loop with comp_build() function of compiler 2018-07-15 23:33:22 +02:00
Yehonal e2e3a07f94 missing executable permissions for *.sh files
command: git add --chmod=+x -- $file
2018-07-15 23:22:20 +02:00
Yehonal cd722b73d3 Updated .travis.yml for new bash system 2018-07-15 23:13:42 +02:00
Yehonal 85388901cf Rewrite of bash system
+ Implemented new dashboard menu
+ some fixes for db_assembler
+ new module installation process with version check via json files
+ some fixes to modules installer
+ implemented simple crossplatform worldserver and authserver restarters
+ new compiler script
+ client data downloader (beta)
+ various other fixes
2018-07-15 22:51:17 +02:00
Barbz 07a451e140 README - db_assembler
Added description and formatted it for github
2018-07-13 21:07:47 +02:00
Stoabrogga a18d1474a3 tools improvement (#926)
* tools improvement

* added "Source/DetourAssert.cpp" to recastnavigation/Detour/CMakeLists.txt

* increased MMAP and VMAP version numbers

* Will need to re extract MMAPS and VMAPS
2018-07-13 12:46:04 +01:00
Travis CI 02d14df9b8 Importing pending sql 2018-07-12 13:43:52 +00:00
Stoabrogga 471413719c Fix NPC 7856 (Southsea Freebooter) 2018-07-12 15:41:28 +02:00
Kartselyanski 90fdd10c3f Fix Fishing's spell cast interruption. 2018-07-11 00:16:35 +02:00
Barbz 0f744d660f Github: issue_template made easier to read
Deleted pointless comments and tidied it so it's less scary
2018-07-10 01:38:20 +02:00
Barbz 73bcb01005 Github: pull_request_template made easier to read 2
Made easier to read
Again.
2018-07-09 17:10:58 +02:00
Barbz cc886b18a1 Github: pull_request_template made easier to read
Deleted pointless comments and made it easier to read
2018-07-09 16:46:32 +02:00
Kargatum 7a5ed0c5bb Core/Scripts: Add SpellSC and new hook OnCalcMaxDuration 2018-07-08 01:04:38 +02:00
Kartselyanski e5d58de641 Core/Scripts: Sapphiron fixes.. 2018-07-07 16:59:31 +02:00
Barbz 81e66d7b04 Github/pull_request_template.md - Improved
Made "target branch" optional since all the PRs are for the master branch by default
Tidied the existing comments to be shorter to read but with more information
Added links for contribution
2018-07-06 22:15:44 +02:00
Barbz 4c4795ec40 Github/issue_template.md - Improved
Added a lot more guidelines
Tidied the existing comments to be shorter to read but with more information
Added links for contribution
2018-07-06 22:15:34 +02:00
talamortis 2c7485c11c Removed the set faction from animal blood spell 2018-07-06 17:10:41 +01:00
talamortis 775d5094d2 Removed comment from hook - No idea why it was there. 2018-07-06 15:05:47 +01:00
FALL1N1 cbc5172b1c Core/Scripts: Boss Gluth + Spell Infected Wound ... (#937)
* Fixed infinite stacks (and eventually crash) of infected wound. (Also fixes the stranglethorn vale zombies' DoT stack issue and all the mobs using that spell)
* Fixed zombie spawn location (3 gates, only 1 used in 10man, all 3 in 25)
* Fix Gluth's "Zombie Chow" distance, now it's blizzlike. Closes #736
2018-07-06 15:23:42 +02:00
Barbz c15444a18e Rogue/Spell: Blade Flurry correctly dmg multiple mobs (#939)
Core/Spells: Fixed Blade Flurry not sharing damage/ignoring armor to
2018-07-05 00:41:05 +02:00
Travis CI 6f1bb411ce Importing pending sql 2018-07-04 22:25:00 +00:00
Stoabrogga d9d5758383 Fix Midsummer Celebrants in Tirisfal Glades and add Festival Scorchling 2018-07-05 00:21:39 +02:00
lineagedr fb6d7af046 Update spell_rogue.cpp (#959)
Blade flurry shouldn't target totems.
2018-07-03 09:12:20 +01:00
Travis CI dd291e0de6 Importing pending sql 2018-07-02 18:22:28 +00:00
FALL1N1 613b586485 Fix Maexxna's portal rotation. (#925)
* Maexxna portal rotation.

* Rewritten sql to update, ready to be merged.

* Portal's visual effect should be in different phasemask and appear only when maexxna is killed.

* split the update query in two, forgot that visual is in phase2

* i want to kms.. all should be good now
2018-07-02 19:20:46 +01:00
talamortis c3a36641ff Fixes Rogue Tier 1
close #955
2018-07-02 18:39:48 +01:00
Travis CI 80f81d77eb Importing pending sql 2018-06-29 19:07:02 +00:00
Stoabrogga 904ec49d42 delete duplicate Midsummer Celebrants in Tanaris; Fire Breathing for all Fire/Flame Eaters 2018-06-29 21:05:17 +02:00
talamortis 5100a533d2 Added check to player to return if player is in tank spec 2018-06-28 01:57:48 +01:00
Travis CI 03cae215b9 Importing pending sql 2018-06-26 22:22:06 +00:00
Stoabrogga ba6575eaf7 fix faction of Midsummer Celebrant (NPC ID 16781) 2018-06-27 00:20:24 +02:00
Travis CI 83ac3e407b Importing pending sql 2018-06-25 21:47:15 +00:00
talamortis 832bccd9fa Added missing spirit healer into Stranglethorn vale. 2018-06-25 22:44:12 +01:00
Kartselyanski 02f0b4c942 Fixed Archavon's Stone Breath knockback on tank. 2018-06-25 17:55:36 +02:00
Kargatum 7329ad4790 Add GitRevision
GitRevision as in TrinityCore
2018-06-24 17:32:50 +02:00
Kartselyanski b9f12ddf8a Core/Spells: Fixed Blade FURry not sharing damage/ignoring armor to additional mobs. 2018-06-24 02:59:19 +03:00
Travis CI 52fa2c2967 Importing pending sql 2018-06-23 23:00:39 +00:00
Nefertumm 00b5e3141a Fix Lady Deathwhisper intro
When you are at Lord Marrowgar entrance and he starts his intro, Lady
starts her intro too. With this fix, that is fixed.
2018-06-24 00:59:04 +02:00
Rochet2 a3d3042049 Core Hook - Remove temporary fix and document possible null in hook (#805)
* Remove workaround

Partially revert temporary crash fix https://github.com/azerothcore/azerothcore-wotlk/commit/a36e94a49a5b3bbdf01c622600c87da8cf55a26b

* Update ScriptMgr.h
2018-06-20 00:38:32 +02:00
Kaev b2870298c1 Merge pull request #930 from Winfidonarleyan/fix_typo
Fix typo in hooks for BGScripts
2018-06-18 18:53:12 +02:00
Kargatum d4f785d705 Fix typo in commit https://github.com/azerothcore/azerothcore-wotlk/commit/049386b93662ad62ea6f779ed5832865ffbde242 2018-06-18 20:58:53 +07:00
Kaev 131da6a0e4 Merge pull request #929 from Winfidonarleyan/bg_hooks
Core/Scripts: Add BGScripts and new hooks
2018-06-18 08:58:42 +02:00
Kargatum 049386b936 Core/Scripts: Add BGScripts and new hooks
* OnBattlegroudStart
* OnBattlegroudEndReward
* OnBattlegroudUpdate
* OnBattlegroudAddPlayer
2018-06-18 02:00:20 +07:00
Barbz a1794c6193 BattlegroundMgr - Fixed typo
Quick fix typo in slog
2018-06-17 17:04:56 +02:00
Viste(Кирилл) a303ba3da3 Core/Arena: fix auto distribute arena points and config option. (#927) 2018-06-16 17:28:44 +01:00
Barbz 8d2555ed04 Change Trinity Core to AzerothCore in config files (#889)
* Authserver.conf - Change Trinity Core to AzerothCore

* Worldserver.conf - Change Trinity Core to AzerothCore
2018-06-15 20:30:49 +02:00
Travis CI b2685af33b Importing pending sql 2018-06-12 17:27:15 +00:00
Nefertumm 365846ad58 Fix Malmortis text (#922)
Fix Malmortis text (quest "Disclosure", ID 12710)
2018-06-12 14:25:20 -03:00
Travis CI 10cb4941fb Importing pending sql 2018-06-11 19:38:48 +00:00
Cillez e9049293aa Fixed An Unusual Patron (#921) 2018-06-11 20:36:56 +01:00
Stoabrogga f3cea26571 Fix Malmortis text (quest "Disclosure", ID 12710) 2018-06-11 15:38:50 +00:00
Nefertumm 8481eec5be Fix brackets from #894 2018-06-08 23:05:10 -03:00
Trystanosaurus 3b307ecb05 Add cooldown to Amplify Damage in phase 3 (#894)
Added a cooldown to amplify damage in phase 3, else it's cast every frame. Used random between 20 and 30 seconds as that's what's set at the start of phase 3.
2018-06-08 11:32:08 +01:00
Nick Kraftor 3fecbf9f31 Module hook for kills performed by pets/totems (#912)
* Add hook for pet/totem kills

* Use method to cast unit to creature
2018-06-07 22:00:21 +01:00
Travis CI 608d70f228 Importing pending sql 2018-06-07 15:34:16 +00:00
Stoabrogga 56d111a9a9 Quest: Captain Garran Vimes - Missing end event
Taken over from TrinityCore: https://github.com/Aokromes/TrinityCore/commit/330c48928e0cff07caf928fb93429af0f7994969
2018-06-07 17:31:59 +02:00
Travis CI 7320896ffd Importing pending sql 2018-06-06 19:00:07 +00:00
Stoabrogga a3574f6590 Fix NPC 28611 (Scarlet Captain) in the DK area (#884)
* Fix NPC 28611 (Scarlet Captain): He now shoots from a distance and says the correct text lines on aggro.

* Changed min distance for shoot

* Changed comment concerning the min distance for shoot
2018-06-06 14:58:26 -04:00
Travis CI 76ab13850e Importing pending sql 2018-06-06 18:38:51 +00:00
Stoabrogga f1a2321cf6 DK quest chain: Implement reaction for Orgrimmar and Alliance guards while finishing the last quest (#891) 2018-06-06 14:36:00 -04:00
Kargatum dfb81201fc Change encoding in banner (#911) 2018-06-06 15:50:46 +02:00
Kargatum f122ed57bf Show default options, missing in config files (#908) 2018-06-05 07:14:57 -04:00
ayase e222cbbc0a Fix: Stuck at "Retrieving character list". (#880)
@AyaseCore 
* fix: Stuck at "Retrieving character list".

* change 2 to 1.1.

* Use the rochet2 solution.

@Rochet2 
* Add more logic from InstanceSaveManager::Update

In `InstanceSaveManager::Update` the `bool warn = event.type < 5;` affects how much time is added to the next reset schedule. This commit takes that into account to the next_reset calculation when skipping resets.

* Simplify code and move it to data loading
2018-06-03 21:56:02 +02:00
BarbzYHOOL 15d8dd36e5 Scripts - Fixed missing headers
Without these, the server would not compile when disabling precompiled headers (PCH)
2018-06-02 19:04:41 +02:00
Travis CI 638510a738 Importing pending sql 2018-06-01 15:20:15 +00:00
José González ff525b621e Merge pull request #898 from pondaveia/scholomance
[DB] Scholomance torch fix

Authored by @tea91 
Ported by @pondaveia 
Tested by @Knindza
Reviewed by @BarbzYHOOL and @Nefertumm 
Corrected by @Deku
2018-06-01 11:18:36 -04:00
José González 2af8192d29 Merge branch 'scholomance' of https://github.com/pondaveia/azerothcore-wotlk into scholomance 2018-06-01 11:12:37 -04:00
José González 75f36675ce Change to UPDATE command to be compliant with AC's guidelines 2018-06-01 11:11:45 -04:00
José González 42c0876efd Use DELETE-INSERT instead of REPLACE for SQL updates 2018-06-01 11:11:45 -04:00
tea91 d7bdafd8d9 scholomance fix 2018-06-01 11:11:00 -04:00
José González 8ac5aa685e Change to UPDATE command to be compliant with AC's guidelines 2018-05-31 18:19:52 -04:00
José González 9a0f8092a4 Use DELETE-INSERT instead of REPLACE for SQL updates 2018-05-31 17:47:30 -04:00
Stoabrogga 7e1c5b16ae Bugfix: cast items with target "TARGET_DEST_NEARBY_ENTRY" (e.g. item 7247) did not work because the if-clause only checks valid target units or game objects; fixed via additional check for target object type "TARGET_OBJECT_TYPE_DEST" and a valid target destination 2018-05-31 22:02:54 +02:00
Barbz 97c08f02b7 pull_request_template.md - Small improvement
Added a comment to incite people to join the discord
2018-05-30 15:02:37 +02:00
BarbzYHOOL 033f390fdf Improved description 2018-05-30 14:39:50 +02:00
BarbzYHOOL d9de91bb42 Bash scripts conf - Set backup to false by default, fixed typo and added a warning 2018-05-30 14:39:50 +02:00
Pondaveia 778cd9a821 scholomance fix 2018-05-30 13:10:52 +01:00
Barbz ed4de4dd64 how_to_make_a_module.md
This file is there to warn people to read the wiki and use our skeleton-module (template) so they gain time and they follow the best practice advices
2018-05-29 22:59:13 +02:00
ayase 064bbd9270 LFG - Queue again after dungeon (PR #883)
People should now be able to queue again, after last boss is killed.

(Closes issue #856)

Commits:

* fix:Dungeon Queue - Not working(#856)

* only the leader can re-queue

* Update LFGHandler.cpp
2018-05-29 22:57:22 +02:00
Travis CI 1b8ea19e1a Importing pending sql 2018-05-26 17:16:28 +00:00
Barbz 54d609c87f Merge pull request #841 from Stoabrogga/terrence
Change waypoint data of Deathguard Terrence in Brill
2018-05-26 19:14:56 +02:00
Travis CI 93f6d2ce49 Importing pending sql 2018-05-24 21:39:06 +00:00
Barbz d1f4528eb1 Merge pull request #879 from Stoabrogga/abandoned_mail
Fix Death Knight quest 12711 "Abandoned Mail"
2018-05-24 23:36:52 +02:00
Barbz 825a62b8d3 Improve the pull request template (#882)
* Improve the pull request template

My take on making the pull request template more useful

* Improvement - Which OS did you test on?

Added "which OS did you test on"
2018-05-23 15:53:12 +02:00
ayase 00777a80ae Eluna implementation (#847)
* azerothcore + eluna done.

* Remove the Eluna single thread limit.

* Read Eluna Settings file.

* submodule change.

* fix(test)  Ubuntu - Cant Link Library after Compile

* The ELUNA is disabled by default.

* remove submodule luaEngine.

* some change

* fix a error

* change cmake

* fix: some onplayerchat does not have hooks.

* Eluna: Add BG event Hooks.

* fix:cmake hook AFTER_LOAD_CONF not work.

* Remove the eluna switch.

* Remove some define in the core.

* fix conf file not read in the linux.

* eluna : change bg hook parameter type

* Remove TC log function call

* change bg hook OnBGEnd parameter type.


Note: to enable Eluna, the module is required
2018-05-22 20:22:11 +02:00
Travis CI 0da1f8c706 Importing pending sql 2018-05-21 12:59:57 +00:00
Stoabrogga 7ec74c22ea Cleaning and improvement for AC
Tested it by checking the IDs with a GM account and playing a fresh DK with a normal player account. Changes:

- move delete statements of the original script to the top in order to reuse the deleted IDs (the original script deleted creatures and game objects from the old world)
- use only deleted IDs within the script
- set Death Knight Initiates to correct phase (otherwise they're wandering between the enemies without fighting)
- set correct aura for one of the dead Scarlet Peasants ("Permanent Feign Death" instead of "Devour Humanoid")
- removed additional duplicates of runeforges, anvils and forges (fixes the flickering when pointing with the mouse on it)
2018-05-21 14:58:23 +02:00
Killyana cdeca21a5a DB - Death Knights area rework
Imported from TrinityCore. Fixes some issues but requires testing before and after considering the differences between AC and TC in WOTLK content

https://github.com/TrinityCore/TrinityCore/commit/d606ee57e2dcda7d7809d2e67a0fdfde1a3882a2
https://github.com/TrinityCore/TrinityCore/commit/3e74ef1528db315c22196822d545b4638c1ca46c

Original work done by Grz3s on Cmangos
2018-05-21 14:58:23 +02:00
Travis CI 4559c92186 Importing pending sql 2018-05-20 01:20:17 +00:00
Pondaveia 0c0d4626e1 [Naxxramas] Gothik the harvester minions (#826)
* Minion spells

added spells for living and dead side

* spell events and enter combat updated

* finished adding spells to minions

needs testing

* Minions now cast spells correctly.

Bugfixed

* travis?
2018-05-20 02:18:29 +01:00
Stoabrogga a50bb578e9 Change Fear spell of Bleeding Hollow Tormentor from 33924 to 12542, as the former causes Fear on the NPC itself (#842) 2018-05-20 02:16:53 +01:00
Stoabrogga 74f76fc0ea Fix Death Knight quest 12711 "Abandoned Mail": Send letter "News From The North" after completing the quest. 2018-05-19 08:18:06 +00:00
Kargatum 6873019ab0 Missing options in conf file (auth and worldserver) 2018-05-17 23:00:45 +02:00
Travis CI c3ba1a6425 Importing pending sql 2018-05-13 20:45:47 +00:00
Kaev 1cb792fd60 Merge pull request #845 from Stoabrogga/undercity_mailbox
Fix overlapping mailbox in undercity (Trade Quarter, south)
2018-05-13 22:44:10 +02:00
Travis CI fcd576f675 Importing pending sql 2018-05-13 09:50:39 +00:00
Barbz 9a1af6e9be Merge pull request #843 from Stoabrogga/forlorn_spirit
Fix Forlorn Spirit (part of the "Legend of Stalvan" quest chain)
2018-05-13 11:49:04 +02:00
Rochet2 1780a96f51 Update .travis.yml (#861) 2018-05-10 20:27:05 +03:00
Barbz ec7124240d Merge pull request #853 from Viste/pdump
Core/Characters: fix pdump load after #755 and close issue #850
2018-05-10 16:23:15 +02:00
Viste(kirill) 27043fc093 Merge remote-tracking branch 'azmaster/master' into pdump 2018-05-07 21:29:42 +03:00
Travis CI 86a9decf4c Importing pending sql 2018-05-07 14:21:28 +00:00
Barbz e4d1cb1762 Merge pull request #844 from Stoabrogga/great_one
Fix quest 13956 "Meeting a Great One" (Children's Week)
2018-05-07 16:19:46 +02:00
Viste(kirill) fda3d1a865 Core/Characters: fix player dump load command 2018-05-07 15:51:52 +03:00
Stoabrogga f9cd6c1f46 Fix overlapping mailbox in undercity (Trade Quarter, south) 2018-05-04 13:17:35 +00:00
Stoabrogga d5038670a9 Fix quest 13956 "Meeting a Great One" (Children's Week) 2018-05-04 12:54:00 +00:00
Stoabrogga d8db1d8839 Fix Forlorn Spirit (part of the "Legend of Stalvan" quest chain) 2018-05-03 18:03:34 +00:00
Stoabrogga 63068718f1 Change the action of Deathguard Terrence in Brill when he reaches the lantern: Use oneshot "laughing" instead of emote state 2018-05-03 17:39:53 +00:00
Francesco Borzì b449a5ab4a Merge pull request #840 from Viste/sslupdate
Core/Crypto: Transitional Cryptography update for OpenSSL 1.1
2018-05-03 14:59:17 +02:00
Viste(kirill) 53364abcd7 Core/Crypto: Transitional Cryptography update for OpenSSL 1.1
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: cmangos/mangos-wotlk@e1b0048
2018-05-02 13:57:57 +03:00
Travis CI 783003f0e8 Importing pending sql 2018-04-19 17:54:52 +00:00
Barbz 9db1d639fc Merge pull request #755 from Nefertumm/PlayerBytes
Split playerBytes fields in characters table
2018-04-19 19:51:33 +02:00
Travis CI 842ac4c14c Importing pending sql 2018-04-09 08:54:10 +00:00
Yehonal d914be6e63 missing instance_template scripts 2018-04-09 08:52:18 +00:00
Yehonal 737c6ec1e1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-04-09 07:12:11 +00:00
Yehonal d17e1da32a Missing override keyword 2018-04-09 07:11:44 +00:00
Yehonal 15a2a47cb9 Missing ScriptLoaders for missing instance scripts 2018-04-09 07:10:00 +00:00
Yehonal f5fcc12fda Missing scripts for instances 2018-04-09 07:09:57 +00:00
Yehonal b773662753 New Boolean parameter for OnAfterUpdateEncounterState
Now you're able to know if an encounter has been really changed or not
(e.g. respawned bosses)
2018-04-09 07:09:43 +00:00
Yehonal 1b53828c52 fixed some warnings 2018-04-09 07:09:34 +00:00
Yehonal e49fb94e79 Fixed Twilight torment sartharion
thanks to @Morgarr
2018-04-09 07:09:27 +00:00
Barbz 4f477fae11 Merge pull request #806 from BarbzYHOOL/trial_of_the_champion_portcullis
Fixes the North Portcullis in TOCh
2018-04-06 22:09:03 +02:00
talamortis 05ed0597c0 Tome of Valor should no longer desapwn the creature 2018-04-01 16:55:50 +01:00
Francesco Borzì b390dd6640 Merge pull request #822 from Viste/memoty
Core/Misc: Fixed memory leak in trade handler
2018-04-01 10:36:05 +02:00
Shauren 77abc1df0e Core/Misc: Fixed memory leak in trade handler 2018-03-31 23:35:00 +03:00
talamortis d7e4799728 removed unused code - fix Travis 2018-03-31 19:46:28 +01:00
talamortis a6e10f2ab2 Instace to return the guid of the gameobject 2018-03-31 18:45:46 +01:00
talamortis 203df067f3 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-03-31 18:07:28 +01:00
talamortis 68c0d298ce After killing Rhahk in deadmines the door will now open correctly. 2018-03-31 18:05:44 +01:00
Travis CI 00cde32cd4 Importing pending sql 2018-03-29 16:35:34 +00:00
Barbz 5133af7b87 DB - Areatrigger - Removes warnings when booting the server (#819)
* DB - Areatrigger - Removes warnings when booting the server

There are 3 triggers that are from the areatrigger.dbc which are useless since the linked maps don't exist.
It's probably a mistake from blizz.

* Wrong database chosen...
2018-03-29 17:33:55 +01:00
talamortis 582abe1541 move a bit of code around for mirror image creatureAI 2018-03-29 01:11:08 +01:00
talamortis 4cb370e192 More fixes for Mirror Image
When player loses target on the mirror image should still attack the current target
2018-03-29 01:01:38 +01:00
Lee 72f9ef756e removed extra space 2018-03-26 21:14:34 +01:00
Yehonal 91cbe9e98a Fixed Creature_SelectLevel hook 2018-03-20 13:50:35 +00:00
Yehonal 9abaf38612 Implemented OnAfterUpdateEncounterState hook 2018-03-20 13:50:27 +00:00
talamortis 5775da199a Revert "Guild charter should now work as intended."
This reverts commit 8a307c7b18.

Also applied fix using original code.
2018-03-20 08:34:15 +00:00
talamortis 3cd8da7560 Players can now re enter zul'aman after raid wipes. 2018-03-19 11:54:00 +00:00
talamortis 8a307c7b18 Guild charter should now work as intended.
closes #807
2018-03-19 11:11:33 +00:00
talamortis 13580238c4 fixed crash issue is creatures are summoned outside of the instance 2018-03-18 22:41:29 +00:00
Barbz f329d17083 Custom scripts - Style of the readme on Github
Made it easier to read
2018-03-18 20:32:32 +01:00
Rochet2 d1646aeb0f Fix DB type to match core (#809)
* Fix DB type to match core

Reverts https://github.com/azerothcore/azerothcore-wotlk/pull/733

* Importing pending sql
2018-03-17 14:19:33 +00:00
talamortis 5113715b05 Upon death KT should reopen the door so people can leave. 2018-03-17 09:47:22 +00:00
talamortis 62977e6408 if players now wipe the door will Reset. 2018-03-15 13:08:02 +00:00
talamortis e0b8b58cca Sartharion should despawn all adds updon death. 2018-03-14 19:56:36 +00:00
Nefertumm dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Rochet2 bb70286d18 Fix crash with dangling player pointer
For a more educated fix would need to get access to git history for why the hook was moved here.
Or alternatively, try research what would be the correct place for the hook.
2018-03-11 17:54:48 +02:00
ariel- 43498cc1a2 Core/Misc: fix bad dbc data for lock 'Locked ball and chain'
Closes #494 author is @ariel- not sure yet how smartgit works...
2018-03-06 14:38:45 +01:00
Yehonal c7e91800fc Fixed typo in ScriptMgr comments 2018-03-06 00:05:46 +00:00
Yehonal bfca8601c0 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-03-06 00:01:13 +00:00
Yehonal fbb4929299 CustomData for Map class 2018-03-06 00:01:07 +00:00
Yehonal cde32263dd updated .editorconfig 2018-03-06 00:00:55 +00:00
Rochet2 311f702bd8 Make info messages seem less important (#788) 2018-03-05 00:09:03 +01:00
Nefertumm 11862840e2 Mechanic_immune_mask added in npc info command (#771) 2018-03-04 23:24:54 +01:00
BarbzYHOOL ecf34b1ed6 Fix typo 2018-03-04 20:20:06 +01:00
Trystanosaurus f477948595 Implement RATE_CREATURE_AGGRO
Make aggroRate a local variable and return aggro range of 0 if aggroRate is 0 to save unnecessary calculations.
2018-03-04 19:00:03 +01:00
grimgravy c9f00ca65b Fix the North Portcullis in TOC 2018-03-04 17:38:44 +01:00
Yehonal a36e94a49a Fixed crashes with not initialized CustomData 2018-03-02 21:03:40 +00:00
yehonal 93cf5edd57 Moved ScriptMgr macros to separated header and created ModuleScript
it will allow Modules to create their own Hooks inside the
module itself, to customize/extend their functionalities.

An example of its usage will be available in VAS Module:
You'll be able to disable VAS with custom conditions from other modules.
2018-02-28 20:20:10 +01:00
Yehonal b9e122dfdf missing semi-colon in latest sql 2018-02-23 15:31:22 +01:00
Travis CI 520936be60 Importing pending sql 2018-02-23 11:56:33 +00:00
Evilpriest4 6a937dab5e Black Temple's Illidari Council (#790) 2018-02-23 12:53:31 +01:00
ladiszlai 4b8a10e605 Addon message read fix (#796) 2018-02-23 12:52:39 +01:00
talamortis 426fa5bc60 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-02-13 13:29:23 +00:00
talamortis fbbc70e318 Fix for item https://wotlk.evowow.com/?item=50130 Quest: Crushing the Crown 2018-02-13 13:27:23 +00:00
Rochet2 7fc800979d Add editorconfig (#789) 2018-02-12 09:22:19 +01:00
Travis CI eacf4100ca Importing pending sql 2018-02-09 09:21:12 +00:00
talamortis ac54e94907 Fix heirlooms to apply stats before giving health. 2018-02-09 09:19:15 +00:00
Inifield 6d97156dcd DB/BWL: Fix eggs being clickable and Grethok should yell when engaged 2018-02-08 12:51:42 +01:00
yehonal 48bb734c94 DB Assembler: Fixed privileges assignment 2018-02-06 23:22:24 +00:00
Yehonal a6e91bc4ac Fix lootable items re-fill when not really empty 2018-02-06 22:15:35 +00:00
Yehonal 9e680b4aed Fixed ossirian crysthal 2018-02-06 22:15:14 +00:00
Inifield 7bc6b57432 Implement Rate.Auction.Deposit
Fixes #764
2018-02-04 19:13:59 +01:00
Rochet2 96761f0741 Fix VS 2015 compile 2018-02-03 01:33:07 +02:00
Rochet2 7696bd355e Add missing include (travis passed though) 2018-02-02 00:52:49 +02:00
Rochet2 6217874f77 Update DataMap.h 2018-02-02 00:41:26 +02:00
Rochet2 96167c54ea Fix copy paste mistakes 2018-02-02 00:39:55 +02:00
Rochet2 0a3be94815 Implement convenience functions for DataMap
See https://github.com/azerothcore/azerothcore-wotlk/pull/748#issuecomment-362411082 for more.
2018-02-02 00:27:14 +02:00
José González d85e55dd9b Fix compile error related to last commit (#776) 2018-02-01 18:21:41 +00:00
Rochet2 ff2851164d Implement data storage for Entitiies (#748) 2018-02-01 13:46:34 +01:00
Travis CI 334ce0b601 Importing pending sql 2018-01-28 19:28:55 +00:00
Nefertumm de7d331daf Implemented guild info command (#756) 2018-01-28 20:27:17 +01:00
Travis CI 75ca1afe85 Importing pending sql 2018-01-28 18:58:23 +00:00
Gargarensis 883906baef Fixed Ashbringer visual on Tirion during Dk campaign (#765) 2018-01-28 19:56:43 +01:00
Yehonal 19bf454e5f Fixed travis compilation (#769) 2018-01-28 19:50:01 +01:00
Yehonal cdbfac743d Update .travis.yml 2018-01-28 16:27:24 +01:00
Yehonal ef2a928e73 Travis: git workflow for pending sql in a single line 2018-01-28 15:14:53 +01:00
Travis CI f5f2e5bbf3 Importing pending sql 2018-01-28 14:09:50 +00:00
Yehonal 7e79e72ad4 Update .travis.yml 2018-01-28 15:08:16 +01:00
Yehonal 3e2e28b1c7 Travis: Config. for db import 2018-01-28 14:58:56 +01:00
Yehonal 94e0063522 Installer: Force exit with direct command 2018-01-28 14:48:56 +01:00
Yehonal 69598ff199 Using installer for travis and implemented pending sql auto-import 2018-01-28 14:38:54 +01:00
Yehonal 8d2ff6b9b0 Update .gitignore 2018-01-28 13:42:51 +01:00
Francesco Borzì 92d41d77bf Merge pull request #766 from Gargarensis/Unbound_Plague
Fix Unbound Plague, credit to Nefertumm
2018-01-27 20:01:14 +01:00
Nefertumm ca2ee81939 Wrong logs for creature_equip_template + startup errors fixes (#758)
* Fixed wrong logs

* Added some errors fixes on startup
2018-01-27 20:00:54 +01:00
Gargarensis 686753633a Merge branch 'Unbound_Plague' of https://github.com/Gargarensis/azerothcore-wotlk into Unbound_Plague 2018-01-24 11:01:43 +01:00
Nefertumm 99587f6057 Fix Unbound Plague 2018-01-24 10:59:13 +01:00
Gargarensis 1c24c77572 Fix Unbound Plague, credit to Nefertumm 2018-01-24 10:42:41 +01:00
Yehonal 84949746e1 import pendings 2018-01-21 10:19:43 +01:00
Nefertumm 4158d2a0d8 Implemented account_muted and feature mutehistory command (#753)
* Implemented account_muted and feature

mutehistory command.

* Added some Syntax.

* Fix sql_rev
2018-01-15 03:18:23 +00:00
Nefertumm 13d09b6590 PlayerBytes fields in characters table 2018-01-14 02:07:31 -03:00
Yehonal 90ed2548c0 imported pending files 2018-01-08 01:54:56 +01:00
Kaev 05cd8c8c61 Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
2018-01-02 22:08:08 +01:00
Francesco Borzì b669d24a1f Restore C++ as the main repository language. Happy new year! 2017-12-30 22:35:17 +01:00
Yehonal fca0bfdb1f Bash: executable permissions for .sh files 2017-12-21 15:51:39 +01:00
Yehonal 4035c205fb Fixed jemalloc compilation 2017-12-21 15:51:20 +01:00
Yehonal ce412ec7dc Fixed warning 2017-12-21 15:23:25 +01:00
Kaev 6d5d44c164 Fixed warning at server start related to transports (#733)
* Fixed warning at server start related to transports
Warning: GetUInt32() on non-(medium)int field. Using type: SHORT.

* Used the recommended way to add SQL updates
2017-12-21 12:15:42 +01:00
Yehonal cc89d773db Merge "Huge directory Restructuring" pull request #680 2017-12-21 11:48:02 +01:00
Yehonal e51b48ef6c Fixed map_extractor cmake 2017-12-21 11:45:19 +01:00
Yehonal 8f7bc1c749 Moved files after merging 2017-12-21 11:29:24 +01:00
Yehonal 403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal acd60005e8 removed gamefw target lib 2017-12-21 01:41:18 +01:00
Yehonal b9e82c3bf0 Fixed linux compilation 2017-12-21 01:27:53 +01:00
Yehonal 685a89e03f fixed cmake 2017-12-21 00:48:33 +01:00
Yehonal 17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
talamortis a0d17509a2 Fixed Mirror Image
close #730
2017-12-13 19:14:38 +00:00
Kaev 6d5f59d83a Removed item DBC loading and use item_template table instead (#732)
* Removed item DBC loading and use item_template table instead
Added all NPC only items to item_template

* Used the recommended way to add SQL files
2017-12-12 19:17:27 +01:00
Yehonal b527073fd8 Fixed wrong version in sql files, please reapply manually 2017-12-11 02:45:31 +00:00
Yehonal cc69bd6304 Added SetCorpseTarget for SpellCastTargets 2017-12-11 02:45:19 +00:00
Yehonal 11d815e9d7 Use getRace instead of direct uint32 value access for Corpse 2017-12-11 02:45:16 +00:00
talamortis a32e81545f Added Immunity Stun to spell effect bladestorm.
close #729
2017-12-09 10:20:41 +00:00
talamortis 2aa764506d Fix travis build 2017-12-08 11:31:01 +00:00
Yehonal 7a0a5613d0 Fixed Encounter Boss Faerlina:
+ fixed in combat with summons, you cannot skip them now
+ fixed naxxramas woshipper immunity: they are not immune to charm spells in 25 mode
+ fixed invisible Widow's Embrace spell in possessed npc bar
2017-12-08 10:43:22 +00:00
Yehonal b9d7c85786 Rewritten Naxxramas boss state system using BossAI methods 2017-12-06 01:37:57 +00:00
Yehonal 2979fd6c1f Fixed Majordomo Executus respawn at server restart 2017-12-05 18:14:34 +00:00
Yehonal bd9178368e Fixed saving of icc buff switch 2017-12-05 18:12:23 +00:00
Yehonal c3bcacfb36 Imported pending sql 2017-12-05 03:06:57 +01:00
neltharionorg 29f4a1e090 Import uptime table and feature from TC (#717) 2017-12-04 23:57:42 +01:00
Kaev 7a6c6315b8 Realmlist returns 0 instead of 1 characters after you deleted all characters (#724) 2017-12-04 22:08:26 +01:00
Rochet2 069bdf280f Core/Build: Never overwrite the msvc cxx flags in the cache (#715)
* Setting all compiler flags in the cache led to circular bloating of
  msvc cxx parameters (was visible in console) which caused MSVC to
  rebuild the whole solution even on a small CMake change.
  It's not neccessary anyway to set the cxx parameters to the cache
  to take effect.
* Cleaning the CMake cache is recommended!
2017-12-04 22:04:51 +01:00
Kaev d4e8035a9a Added getter for ObjMgr::_itemTemplateStoreFast (#725) 2017-12-04 21:37:57 +01:00
yehonal 52ae84d581 Fixed crash after 635f7831e1 2017-12-04 02:14:30 +00:00
Yehonal c044cbfdff Improved OnItemRoll hook
Now you can change the chance temporary and dinamically
2017-12-04 02:12:48 +00:00
Yehonal 3e4390a5b2 Missing jmalloc updates 2017-12-04 02:12:43 +00:00
Yehonal 912b6965d7 Add LootStore information to loot hooks
Please update your modules if you're using these functions
2017-12-04 02:12:36 +00:00
Yehonal 90e0332243 Add item entry information to auras for external usage 2017-12-04 02:12:31 +00:00
talamortis d8f2d3cfb6 Fix travis 2017-11-29 10:50:04 +00:00
talamortis 7f6b3b3c0d Missed define out should fix travis aswell 2017-11-28 22:17:16 +00:00
talamortis 635f7831e1 Added more checks to death grip 2017-11-28 21:29:40 +00:00
talamortis ebb2ce6b38 Death grip should now check see if creature is immune to silence spells before interrupting 2017-11-26 20:03:35 +00:00
sucofog d87134b8ea Library Jemalloc updated to 5.0.1 (#721) 2017-11-26 17:46:07 +01:00
Yehonal 5ef601b7cf Revert "Fixed path error for charge spells after 17802ab6e5135f0220efcd8f4e460f8202a4c047"
This reverts commit 3b22c59bec.
2017-11-25 18:22:35 +00:00
Yehonal 300847920a Fixed transport disappearing 2017-11-25 02:14:15 +00:00
Yehonal 3b22c59bec Fixed path error for charge spells after 17802ab6e5
thanks @jackpoz for original patch
2017-11-25 02:13:28 +00:00
Yehonal c14f8cffed Fixed Unit contact point 2017-11-25 01:07:39 +01:00
sucofog cfedbd95ef Fixed compilation 2017-11-25 01:07:39 +01:00
sucofog 9433c91d60 Import this fix's:
https://github.com/TrinityCore/TrinityCore/commit/da6065db00768735e70cd0a81af7f5ec4c2f0414
https://github.com/Golrag/TrinityCore/commit/d550f0fee8abe2517a6cbb43fbfa1f1a2fcbda9b
2017-11-25 01:07:39 +01:00
Yehonal 08ca46ed93 Fixing NearPoint calculation and fishing height issue #127 2017-11-25 01:07:39 +01:00
Yehonal 37e9160e88 Fixed npc/object spawn by command when GetPhaseByAuras is used. 2017-11-22 13:23:00 +00:00
Yehonal 0f42b51143 DB: Fixed Wintergrasp aura to avoid phase conflicts in other context
it must be limited to WG since its phase cannot be present on character
while doing Ruby Sanctum for example
2017-11-21 15:48:52 +01:00
talamortis 21cfee757e Removed override functions in blackrock spire script 2017-11-21 10:17:52 +00:00
talamortis 3d49aa7150 Should fix travis build 2017-11-21 09:43:21 +00:00
talamortis f865bef667 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-11-20 19:59:03 +00:00
talamortis 9a07a1ae18 When player skins a creature it will tell instance aswell.
closes #614
2017-11-20 19:58:43 +00:00
Rochet2 730e903bc7 Fix chat hooks not able to edit the chat message 2017-11-20 20:49:36 +02:00
talamortis 0eedd4edcf Fixed halls of reflection wave timer according to deadly boss mods. 2017-11-20 15:08:45 +00:00
talamortis a897356fa3 Death Grip should now interrupt the target
closes #637
2017-11-20 14:08:14 +00:00
talamortis 546c547e7b Bloodworms will now be defensive state when summoned.
closes #641
2017-11-20 13:51:48 +00:00
Yehonal 3e9ffa3e33 Implemented GetPhaseByAuras removing redundant code (DRY) 2017-11-20 11:36:46 +01:00
Yehonal bc726a2f16 Fixed Lich King timers (step 2)
Now we've blizzlike timers totally compatible with DBM addon
2017-11-20 11:36:26 +01:00
Yehonal bf60f8f5c6 Add summoner information to TeleportTo function and created OnBeforeTeleport hook 2017-11-20 11:36:14 +01:00
Yehonal b340ebbec9 Fixed Lich King timers
maybe other minor adjustments needed but mostly correct now
2017-11-20 11:30:46 +01:00
Yehonal 9bded96de5 Fixed aura for GM visibility at login 2017-11-20 11:30:29 +01:00
Yehonal 4bc2124632 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into temp 2017-11-19 18:35:06 +01:00
Yehonal 3649e70176 Fixed sql syntax error 2017-11-19 18:29:15 +01:00
Yehonal 7256dc30a9 Merge pull request #713 from azerothcore/Rochet2-patch-2
Update import.sh
2017-11-19 16:33:27 +01:00
Yehonal e727df7566 Imported pending sql 2017-11-19 16:29:45 +01:00
Yehonal b74e1e03ba DB: Fixed difficulty type condition for achievement statistics 2017-11-19 16:26:13 +01:00
Yehonal af1a3b5220 Fixed compilation 2017-11-19 16:25:58 +01:00
Yehonal 70738e76f0 Added OnBeforeItemRoll hook and added missing parameter to:
OnAfterRefCount
OnBeforeDropAddItem

please update your scripts if you're using them
2017-11-19 16:25:54 +01:00
Yehonal fe0c66bf70 Improved equip manager, anti-abuse system 2017-11-19 16:25:50 +01:00
Yehonal 798e1acfc5 Missing arena meets condition for statistics and fixed played matches 2017-11-19 16:25:33 +01:00
Yehonal 3d36bb81a4 Fixed statistic counters on different raid/dungeon difficulty
Needs queries to fix some missing criteria in achievement_criteria_data
with type 12
2017-11-19 16:25:23 +01:00
Yehonal 817257c85b Implemented OnUpdateArea hook
it's more accurate than UpdateZone
2017-11-19 16:25:05 +01:00
Yehonal f669732d19 Allow near commands to list only object of your current phase 2017-11-19 16:24:57 +01:00
Yehonal 1c519f62ff Fixed played arena statistics 2017-11-19 16:24:49 +01:00
Rochet2 49bfa89a36 Update import.sh 2017-11-18 21:45:14 +02:00
Yehonal 626630f0f6 Fixed improved succubus seduction talent #699 2017-11-18 12:49:39 +01:00
Yehonal 1e288af897 Improved OnCriteriaCheck hook, passing information about criteria_id
OnCheck without criteria_id is deprecated but still available
2017-11-18 12:49:33 +01:00
Yehonal 563e02370e Fixed druid "powershift" macro #693
Thanks to @lineagedr
2017-11-18 12:49:28 +01:00
Yehonal 64fa231ff3 Fixed criteria updating on exploration 2017-11-18 12:47:48 +01:00
sucofog 32fe67d32c Fix walkableClimb, maxWalkableAngle maxAngle height. 2017-11-18 06:16:53 +01:00
sucofog 1b9b901817 Mmap version update to latest 2017-11-18 03:49:58 +01:00
Yehonal c4622096e9 Importing pending sql 2017-11-17 00:26:19 +01:00
Yehonal 1e860bd7fe Spell/Workaround: Seduction must be interrupted by spell reflection #697
it's an hack, we must improve it. Thanks to @lineagedr
2017-11-17 00:24:40 +01:00
Yehonal 8a7cef6f64 Fixed arena statistics by type 2017-11-17 00:24:23 +01:00
Yehonal 5ad0bd2134 Fixed Hand of Reckoning effect on shaman totems 2017-11-17 00:19:00 +01:00
Yehonal eb6ab9e120 Fixed behaviour of unrelenting assault warrior arms debuff 2017-11-17 00:14:28 +01:00
Barbz b8e5208e33 CMake - Made it easier to add your custom scripts (#703) 2017-11-16 02:26:15 +01:00
sucofog c75ec13191 Core-side part for recastnav upgrade:
Corrected values, fixed compile, re-extraction of Mmaps it's required again, mmaps will be updated on wiki.
2017-11-15 18:55:04 +01:00
sucofog 17802ab6e5 Properly update Recastnav:
The commit not contained the last updates, added them and correct CMakeLists include.
MMaps re-extraction wil be REQUIRED.
2017-11-14 23:22:11 +01:00
sucofog 2d464f94ed Added mmaps commands.
Port from Trinitycore, credits to its respective commiters.
2017-11-14 22:59:11 +01:00
sucofog 2bab14b1ca Import pending SQL from commit:
https://github.com/azerothcore/azerothcore-wotlk/commit/a2170f218b85bc534062835eb8d0dcb2b35ea9f0
2017-11-14 22:55:03 +01:00
sucofog 3b73e99ec8 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-11-14 22:50:25 +01:00
sucofog e772b08c68 Update Vmaps | Mmaps | Recastnav and fixed FleeingMovement
- Fixes getHeight collision (Map height is now calculated properly core-side, extraction of Maps, Vmaps is required)

- Fixes invisible walls causing LoS errores and wrong pathing in some zones.

- Mmaps update, padding is used, now to ensure proper binary-identical mmtiles

- Updated Recastnav to work properly with new updates

- Updated Area Storage

- Implement Map out of Bound (players will pop on closest graveyard if out of bounds)

- FleeingMovementGenerator updated, LoS calc to not go out of bounds or in/under textured when 
fleeing

- Added command .mmap, port from TC (info about mmaps)
2017-11-14 15:14:43 +01:00
Kevin Starrheld d98ba9cdaa Fixes creature equipment not loading correctly. (#688) 2017-11-14 14:42:52 +01:00
sucofog 1ea009e255 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-11-12 19:59:11 +01:00
Gargarensis a95be19341 Molten Core - Core Hounds (#683)
* fixed core hounds

* removed warning

* removed warning
2017-11-10 14:55:19 +01:00
sucofog a2170f218b Scripts/Northrend: fix event for quest A Suitable Test Subject (#700)
* Scripts/Northrend: talk event for quest A Suitable Test Subject

Ported from: https://github.com/TrinityCore/TrinityCore/commit/fda99b2972aed2b98642f8974e34c5b18f7f3676

Credits to @Wyreth and Trinitycore

* [Fix] No newline at end of file
2017-10-29 10:23:55 +00:00
sucofog 7461cf68d4 [Fix] No newline at end of file 2017-10-29 11:18:06 +01:00
sucofog b56d3de7d9 Scripts/Northrend: talk event for quest A Suitable Test Subject
Ported from: https://github.com/TrinityCore/TrinityCore/commit/fda99b2972aed2b98642f8974e34c5b18f7f3676

Credits to @Wyreth and Trinitycore
2017-10-29 11:15:00 +01:00
Yehonal d0af1c812b Importing pending sql 2017-10-17 01:37:03 +02:00
Yehonal 76215c5c1f Core: fixed realm first achievement
Porting of @shauren fix:
https://github.com/TrinityCore/TrinityCore/commit/c75fcbe20b07fd7518be58bf02ba30d903133449
2017-10-17 00:28:01 +02:00
Kevin Starrheld 7026d2e561 DB/Misc: N/A (#685)
* Lord Thorval missing creature_text

* Warsong Recruitment Officer - Gossip (Hellscream's Vigil)

* startup errors
2017-10-16 18:58:24 +02:00
Yehonal 7b4c2fc6bc Update 2017_10_15_00.sql 2017-10-16 13:34:35 +02:00
Yehonal 51eb9d7e13 fixed nested function in latest sql updates
it's a particular case that we've to take care about next time:

a function cannot be created inside a procedure so
we need to move out its definition after pending import
2017-10-15 11:58:52 +02:00
Yehonal 76c9d3c497 Fixed latest sql importing process
Maybe has been executed on a non-bash shell (?)
2017-10-15 11:49:21 +02:00
yehonal dd463b30b6 Wrong column name in sql 2017-10-14 20:15:16 +02:00
talamortis 3d908d31a2 removed pending world SQL files 2017-10-14 17:03:42 +01:00
talamortis 9137450679 Imported Pending SQL files 2017-10-14 10:54:06 +01:00
Yehonal 0fc4a6a153 Missing folder 2017-10-13 20:20:15 +02:00
Yehonal c64f8d8e82 Fixed compilation after dir rework 2017-10-13 19:22:53 +02:00
Yehonal b24a2ea13e Bash: exec permission for bin files 2017-10-13 14:38:14 +02:00
Yehonal bbc9a21e94 Bash: fixing scripts after directory rework 2017-10-13 14:37:37 +02:00
Yehonal f06f32849f Directory Structure [step 1]: moving files
working on #672

NOTE: This commit can't be compiled!!
2017-10-12 20:00:52 +02:00
sucofog 612e996209 Calendar/GameEvents: Store + Send holiday data to calendar (#589)
* Calendar/GameEvents: Store + Send holiday data to calendar

Fix by @Gerhood port by Sucofog for AC

* Remove comments

* Fixed an sql error

* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#646)

* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#601)

* Fixed line spacing

* Fixed file spacing

* Revert "Fixed file spacing"

This reverts commit c32f081fe2.

* Revert "Fixed line spacing"

This reverts commit 5a922bbfe8.

* Revert "Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#601)"

This reverts commit 0d57b3c273.

* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled

* Core: step 1 - starting to fix core warnings

expecially from headers and some cpp files

Scripts and tools in next steps

* Core: Step 2 - Fixed warnings with clang 3.9+

issue #121

* Core: Step 3 - removed all warnings from core

related to #121

Next step: Scripts and extractor tools

* Scripts: Step 4 - Fixed all warnings inside scripts

issue #121

Next step: enabling -DWITH_WARNINGS and fix

* Implement banned_addons (#647)

* Removed more warnings, mostly related to unused-variable

issue #121

We still have to work on unused-parameter

* Script: Fixed yogg saron Drive Me Crazy achievement

* uncommented releaseModelInstance to fix a warning

* Improved travis compilation

Including pending sql and enabling tools, core-debug, extra-logs and perftools

* Fixed compilation

* Fixed all unused-parameters warnings

issue #121

used clang-tidy to achieve this

* Removed unused variables in WaypointMovementGenerator

* Solved cmake D9025 issue with MSVC

* Fixed some variable/parameters type issues

* Uncommented some utils functions for LFG

* Fixed linux compilation error with linker

This was caused by a GNUC compiler optimization that removes
LFG.obj from binaries since its functions have never been called
by gamelib. So we had to call at least one of them on LFGMgr forcing
 compiler to include LFG.cpp in build. I can't find another way.

* Pending sql

* Cleaning unused variables

* Update issue_template.md

* Coverity badge

* Fixed other badges

* Add GMSummonPlayer Config Option (#643)

* Stratholme's Rat Traps (#613)

* now rat traps in stratholme work correctly

* Implemented sql importing for db_assembler script

It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)

* Bash: Fixed Quit option

* Bash: Allow action non-interactive selection

You can directly run a specific action from command lines
useful for cronjobs for example

+ splitted db_assembler in more files ready to be included
from other bash scripts

* Cmake: Compiling with warnings by default

Forcing all contributors to fix all warnings before push a commit (i hope)

* Fixed gcc warnings

* Build without PCH to catch missing headers

+ changed to Debug build type

* Fixed PCH compilation and gcc warnings fixed

+ removed some useless warning suppressions

* Improved travis compilation

it must give us errors on warnings allowing contributors to fix them
as soon as possible (best before accepting PR)

* Improved db assembler, now can create DBs

* Bash: implemented installer script for server and modules (beta)

+ minor fixes

* Installer: minor fix

* Bash: fixed mysql default conf

* updated doc

* Installer: differentiate linux distro

* Use PLAYER_BYTES_3 instead of gender to avoid displayid problems

- This fix night elfs corpse turning into a cube

* Fix CMake custom script (#658)

* CMake - CMake now detects custom scripts in the Custom directory

* CMake - CMake now detects the custom script headers

* CMake - Added an example in the README on how to make a CMakeLists.txt for a custom script

* Scarlet Monastery - Chapel: Last Boss (#599)

* Core/Misc Created handler for character creation

* [Core/Boss] Reworked final figth Scarlet Monastery - Chapel

* correct the animation when Whitemain cast resurrection

* Fixed max heroic attempts ICC

it must be 50 instead of 25

* Workaround to import sql with zero value in date on mysql 5.7

Maybe we need to fix those fields or find another better way

* Various fixes for installer script and db_assembler

* Db_Assembler: hide mysql password in prompt

* Revert "Cmake: Compiling with warnings by default"

It generates compile errors on windows
Maybe we should separate warning cmake define for each compiler (?)

This reverts commit 8ad3c15d63.

* Fixed warnings when EXTRA_LOGS are off

* Fixed and optimized EXTRA_LOGS code

about 1700 lines of code manually checked

* Bash: Minor fixes for installer
2017-10-12 18:01:13 +02:00
Gargarensis c710122259 Molten Core fixes (#604)
* Molten Core fixes

* fix indentation

* forgot to adjust 3 lines

* Fixed warning
2017-10-12 18:00:46 +02:00
Yehonal 4df28fd29c Fixed valid arena condition
maybe we should remove it? (not blizzlike)
2017-10-12 16:25:04 +02:00
Yehonal 9c92f4f32e Fix achievement criteria sending correct race
in case of crossfaction enabled
2017-10-12 16:24:50 +02:00
Yehonal ac0e8438f9 Fixed a warning on windows 2017-10-12 16:17:07 +02:00
Yehonal 0f5ff1db7e Bash: Removed compilation type suffix on build/bin path
if you need to differentiate it you can add $CTYPE variable as suffix of bin/build path conf
2017-10-09 10:13:51 +00:00
lineagedr 7df5d0964f Add Diminishing_None to Feral Charge. And Add Blizzlike Animations to Flags / Chest Captures. (#664)
* Add Diminishing_None to Feral Charge.

Closes https://github.com/azerothcore/azerothcore-wotlk/issues/648

Credit: AnonXS @L4G_Core

* Update Spell.h

* Add blizzlike ecapturing flag / chest animation

Code from Nostalrius.

* Add missing blizzlike animations.

Demonic Circle: Summon, Soul well, Ritual of Summoning. There's probably more.

* Update Object.cpp
2017-10-08 17:13:19 +02:00
mik1893 10809d9113 Core/Battleground: Deserter track on bg leaving 2017-10-08 12:50:57 +02:00
Inifield a2957f53b0 Fix mail system not sending all items 2017-09-30 13:06:38 +02:00
talamortis b9e6faca6c closes #667 #273 2017-09-29 22:07:07 +01:00
Francesco Borzì 6b08fd2f61 Update issue_template.md 2017-09-27 14:12:03 +02:00
Yehonal eb78254579 Bash: Various improvement for compiler and db_assembler
Now db_assembler also creates the users specified in conf.sh files if not exists

+ Simplified some paths for compilation
2017-09-26 12:53:46 +02:00
Yehonal c85b1b591e Continue to run server even without custom .conf
You should be able to run both authserver and worldserver with default
configurations

Also changed *DatabaseInfo to fit information defined in our bash installer
and create sql
2017-09-26 12:52:16 +02:00
Yehonal 30e6abf6ab Import pending sql 2017-09-26 01:27:22 +02:00
Yehonal 69b7d77161 Bash: Minor fixes for installer 2017-09-25 18:15:47 +02:00
Yehonal 0a03149432 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk
# Conflicts:
#	src/game/Warden/WardenWin.cpp
2017-09-25 15:18:08 +02:00
Yehonal 7a0e6e7da2 Fixed and optimized EXTRA_LOGS code
about 1700 lines of code manually checked
2017-09-25 15:09:21 +02:00
Yehonal dcdddf658b Fixed warnings when EXTRA_LOGS are off 2017-09-25 10:58:29 +02:00
Yehonal e687d223ff Revert "Cmake: Compiling with warnings by default"
It generates compile errors on windows
Maybe we should separate warning cmake define for each compiler (?)

This reverts commit 8ad3c15d63.
2017-09-25 10:37:22 +02:00
Yehonal da45fbf75c Db_Assembler: hide mysql password in prompt 2017-09-25 02:21:18 +02:00
Yehonal 9bc0a3d383 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-25 02:15:41 +02:00
Yehonal c42ec97bb0 Various fixes for installer script and db_assembler 2017-09-25 02:15:22 +02:00
Yehonal 61df6f7d44 Workaround to import sql with zero value in date on mysql 5.7
Maybe we need to fix those fields or find another better way
2017-09-25 02:14:42 +02:00
Yehonal 100da17e85 Fixed max heroic attempts ICC
it must be 50 instead of 25
2017-09-24 10:44:34 +02:00
Ercules76 34682ecc2c Scarlet Monastery - Chapel: Last Boss (#599)
* Core/Misc Created handler for character creation

* [Core/Boss] Reworked final figth Scarlet Monastery - Chapel

* correct the animation when Whitemain cast resurrection
2017-09-23 17:20:26 +02:00
Barbz efbcb8f65d Fix CMake custom script (#658)
* CMake - CMake now detects custom scripts in the Custom directory

* CMake - CMake now detects the custom script headers

* CMake - Added an example in the README on how to make a CMakeLists.txt for a custom script
2017-09-23 11:30:22 +02:00
Inifield 23cb1a18e5 Use PLAYER_BYTES_3 instead of gender to avoid displayid problems
- This fix night elfs corpse turning into a cube
2017-09-22 14:31:40 +02:00
Yehonal dc15319625 Installer: differentiate linux distro 2017-09-22 01:19:20 +02:00
Yehonal 68176367c1 updated doc 2017-09-21 23:32:00 +02:00
Yehonal 421def048f Bash: fixed mysql default conf 2017-09-21 21:52:17 +02:00
Yehonal 31848f9a66 Installer: minor fix 2017-09-21 18:59:29 +02:00
Yehonal 22c6ba9fa6 Bash: implemented installer script for server and modules (beta)
+ minor fixes
2017-09-21 18:52:20 +02:00
Yehonal ce6b9de51a Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-21 17:04:43 +02:00
Yehonal afebf1a1ca Improved db assembler, now can create DBs 2017-09-21 17:04:08 +02:00
Yehonal a738fb3e4d Improved travis compilation
it must give us errors on warnings allowing contributors to fix them
as soon as possible (best before accepting PR)
2017-09-21 12:04:58 +02:00
Yehonal 973259925b Fixed PCH compilation and gcc warnings fixed
+ removed some useless warning suppressions
2017-09-21 11:53:02 +02:00
Yehonal 343c88f0a4 Build without PCH to catch missing headers
+ changed to Debug build type
2017-09-21 01:07:20 +02:00
Yehonal 77340773be Fixed gcc warnings 2017-09-21 00:59:43 +02:00
Yehonal 8ad3c15d63 Cmake: Compiling with warnings by default
Forcing all contributors to fix all warnings before push a commit (i hope)
2017-09-20 01:23:20 +02:00
Yehonal 70ab2a8771 Bash: Allow action non-interactive selection
You can directly run a specific action from command lines
useful for cronjobs for example

+ splitted db_assembler in more files ready to be included
from other bash scripts
2017-09-20 01:18:20 +02:00
Yehonal 477321be4d Bash: Fixed Quit option 2017-09-20 00:08:57 +02:00
Yehonal f63cb50568 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-20 00:02:33 +02:00
Yehonal c592aca103 Implemented sql importing for db_assembler script
It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)
2017-09-20 00:02:24 +02:00
Gargarensis 56e8ef0d46 Stratholme's Rat Traps (#613)
* now rat traps in stratholme work correctly
2017-09-19 23:53:14 +02:00
StygianTheBest 209bc50ef5 Add GMSummonPlayer Config Option (#643) 2017-09-19 20:30:23 +02:00
Yehonal d19b61a755 Fixed other badges 2017-09-19 19:04:27 +02:00
Yehonal 64e6109779 Coverity badge 2017-09-19 19:03:06 +02:00
Francesco Borzì 7b4eaf1f5a Update issue_template.md 2017-09-19 15:17:57 +02:00
Yehonal 944cfd077e Cleaning unused variables 2017-09-19 11:23:07 +02:00
Yehonal 787a9238df Pending sql 2017-09-19 10:41:43 +02:00
Yehonal 9975fb5923 Fixed linux compilation error with linker
This was caused by a GNUC compiler optimization that removes
LFG.obj from binaries since its functions have never been called
by gamelib. So we had to call at least one of them on LFGMgr forcing
 compiler to include LFG.cpp in build. I can't find another way.
2017-09-19 10:40:27 +02:00
Yehonal af6fc3d873 Uncommented some utils functions for LFG 2017-09-18 19:36:26 +02:00
Yehonal 84d6011a3d Fixed some variable/parameters type issues 2017-09-18 19:35:32 +02:00
Yehonal 353d90f256 Solved cmake D9025 issue with MSVC 2017-09-18 15:23:00 +02:00
Yehonal 59eb9a56a8 Removed unused variables in WaypointMovementGenerator 2017-09-18 15:12:53 +02:00
Yehonal 2b2e299ccc Fixed all unused-parameters warnings
issue #121

used clang-tidy to achieve this
2017-09-18 14:23:26 +02:00
Yehonal aa87ec685b Fixed compilation 2017-09-18 13:24:34 +02:00
Yehonal 66ffadb087 Improved travis compilation
Including pending sql and enabling tools, core-debug, extra-logs and perftools
2017-09-18 03:38:16 +02:00
Yehonal 627f8412d1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-18 03:17:54 +02:00
Yehonal bea6f6b9fb uncommented releaseModelInstance to fix a warning 2017-09-18 03:17:35 +02:00
Yehonal 14f1c767ef Script: Fixed yogg saron Drive Me Crazy achievement 2017-09-18 03:17:20 +02:00
Yehonal 5ec07ef31f Removed more warnings, mostly related to unused-variable
issue #121

We still have to work on unused-parameter
2017-09-18 03:16:32 +02:00
barncastle 2c9b2542d6 Implement banned_addons (#647) 2017-09-17 17:13:43 +02:00
Yehonal cf627d8327 Scripts: Step 4 - Fixed all warnings inside scripts
issue #121

Next step: enabling -DWITH_WARNINGS and fix
2017-09-17 04:07:32 +02:00
Yehonal 82be574cda Core: Step 3 - removed all warnings from core
related to #121

Next step: Scripts and extractor tools
2017-09-16 19:13:21 +02:00
Yehonal 247490dc84 Core: Step 2 - Fixed warnings with clang 3.9+
issue #121
2017-09-16 15:02:33 +02:00
Yehonal 3dde305068 Core: step 1 - starting to fix core warnings
expecially from headers and some cpp files

Scripts and tools in next steps
2017-09-16 13:47:19 +02:00
Darron Lumley 584af79efa Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#646)
* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#601)

* Fixed line spacing

* Fixed file spacing

* Revert "Fixed file spacing"

This reverts commit c32f081fe2.

* Revert "Fixed line spacing"

This reverts commit 5a922bbfe8.

* Revert "Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled (#601)"

This reverts commit 0d57b3c273.

* Fixed spell casting destination to require ENABLE_LOGS and ENABLE_EXTRA_LOGS to be enabled
2017-09-16 10:40:20 +02:00
Yehonal 4d8ae5fce3 Naming unknown data in Authsession and implemented some checks 2017-09-16 01:15:57 +02:00
Yehonal 502e2ad19a Fixed realmid on realmlist packet 2017-09-16 01:15:31 +02:00
Yehonal 9d2395e1d3 Restored behaviour about a vehicle.cpp condition
Fixing #602
2017-09-11 19:40:02 +02:00
sucofog 2aedf13593 Fix warning under GCC Linux (#616) 2017-09-10 19:57:43 +02:00
talamortis c714f0cbb1 Pet bar should now show after /reload command. 2017-09-07 11:20:28 +01:00
Yehonal b450ba35d8 [CORE/Command] fixed wrong db worker for IP2NATION statement 2017-08-26 00:22:24 +02:00
Yehonal 7277e4f006 importing sql 2017-08-25 11:49:51 +02:00
Yehonal 3b90286571 [Script/SAI] Fixed Shattered Hand Blood Guard Event (#579) 2017-08-25 11:48:28 +02:00
talamortis f6ff4910c3 Added a hook for player::Update 2017-08-24 11:06:21 +02:00
Barbz c15f15ebb0 GroupHandler: prevent cheater self-invite (#573)
* GroupHandler: prevent cheater self-invite

Author: billy1arm
From https://github.com/mangosone/server/commit/ec0393001f58c70764f3a807dba16f9e28d664ad

* Fixed indentation
2017-08-23 10:45:08 +02:00
Yehonal 5c7834d384 importing pending sql 2017-08-22 22:33:02 +02:00
Ercules76 f5e0686b6e Fix LFG last player disband party (#574)
* [CORE/LFG] now last player disband party when left dungeon
2017-08-22 22:19:41 +02:00
Yehonal a8166c3868 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-21 11:51:27 +02:00
Yehonal 0c2d0cd9c0 removed duplicated update file 2017-08-21 11:51:17 +02:00
Yehonal 5bc39840a1 Fixed old auth updates 2017-08-21 11:50:44 +02:00
Yehonal f873100cab Revert changes to base account table
We MUST NOT change the base sql if we've the update sql file
otherwise db updating will fail
2017-08-21 11:50:11 +02:00
Кирилл d27ee6324e [NPC] Franclorn Forgewright visibility (#568)
* DB/NPC: make Franclorn Forgewright visible only for dead players

* add a new line at the end of file
2017-08-21 01:03:08 +02:00
Кирилл fa78d2d83e Core/Scripts: start fight with hardcode in scripts by sending pet trainers to DB from Core (#571)
* Core/Scripts: start fight with hardcode in scripts by sending pet trainers to DB from Core

* fix build(forget about it lol azetorh don't have this commit)
2017-08-20 17:31:59 +02:00
Кирилл 20fed1bc48 Core/Gossip: implement another way to do gossip macros(like in TC). (#572) 2017-08-20 17:30:13 +02:00
Yehonal 245d3f87f8 fixed linux compilation 2017-08-20 13:09:05 +02:00
Yehonal 620887fe61 fixed compilation with ENABLE_* defines disabled 2017-08-20 12:34:06 +02:00
Yehonal 0c50a6027c Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-20 06:04:27 +02:00
Yehonal 1ed98105a1 importing pending sql 2017-08-20 06:03:34 +02:00
Nefertumm fd684a858c Implement ip2nation and ip2nationCountries (#518)
* Implement ip2nation and ip2nationCountries

* fix account.sql

* Tabs

* Codestyle

* More codestyle

* Maybe not. Fk travis.

* Missing field on LOGIN_SEL_ACCOUNT_INFO_BY_NAME

* Update WorldSocket.cpp
2017-08-20 06:00:00 +02:00
Yehonal 41efb63b29 Update WorldSocket.cpp 2017-08-20 05:39:17 +02:00
Yehonal 69d35aed10 Missing field on LOGIN_SEL_ACCOUNT_INFO_BY_NAME 2017-08-20 05:27:50 +02:00
Yehonal c44dccb231 Merge branch 'master' into master 2017-08-20 05:04:58 +02:00
Yehonal c854b65882 Merge branch 'master' into master 2017-08-20 04:59:52 +02:00
Yehonal 0dd68dfbee Another huge compilation fix
please delete cache and re-run cmake
2017-08-20 04:48:07 +02:00
talamortis e471c1bb6a fix for PR
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/Auras/SpellAuraEffects.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-20 02:33:48 +02:00
Yehonal bf80a43d78 Fixed travis build errors with Talamortis.
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
#	src/game/Calendar/CalendarMgr.cpp
#	src/game/Chat/Channels/Channel.cpp
#	src/game/Conditions/ConditionMgr.cpp
#	src/game/DungeonFinding/LFGMgr.cpp
#	src/game/DungeonFinding/LFGScripts.cpp
#	src/game/Entities/Player/Player.cpp
#	src/game/Entities/Unit/Unit.cpp
#	src/game/Entities/Vehicle/Vehicle.cpp
#	src/game/Guilds/Guild.cpp
#	src/game/Handlers/ChannelHandler.cpp
#	src/game/Handlers/GuildHandler.cpp
#	src/game/Handlers/LFGHandler.cpp
#	src/game/Handlers/LootHandler.cpp
#	src/game/Handlers/MailHandler.cpp
#	src/game/Handlers/MiscHandler.cpp
#	src/game/Handlers/NPCHandler.cpp
#	src/game/Handlers/PetHandler.cpp
#	src/game/Handlers/PetitionsHandler.cpp
#	src/game/Handlers/QueryHandler.cpp
#	src/game/Handlers/QuestHandler.cpp
#	src/game/Movement/MotionMaster.cpp
#	src/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp
#	src/game/Server/WorldSession.cpp
#	src/game/Server/WorldSocket.cpp
#	src/game/Spells/SpellEffects.cpp
#	src/scripts/Commands/cs_modify.cpp
2017-08-19 20:31:24 +02:00
Barbz f794ad2acf Fixed these 3 fatal errors for travis build (thanks to @Talamortis )
# Conflicts:
#	src/authserver/Server/AuthSocket.cpp
#	src/game/AI/SmartScripts/SmartScript.cpp
2017-08-19 19:47:35 +02:00
Yehonal c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +02:00
Yehonal f888e8c86b Preprocessor option for logging functions (#567)
* Update showoptions.cmake

* Update config.cmake.dist

* Example of preprocessor usage

Other work must continue for PR https://github.com/azerothcore/azerothcore-wotlk/pull/519
2017-08-19 18:37:47 +02:00
Yehonal 246826e002 import all pendings sql 2017-08-19 18:28:03 +02:00
PolarCookie f5091ead96 Various quest fixes
The Troll Cave: needs 14 kills, not 10.
http://wow.gamepedia.com/Quest:The_Troll_Cave

The Grizzled Den
The wendigos at this den, especially at the entrance, are very dense. It looks as if they're double spawned a lot. It's very hard on lvl 6-8 players, as you're forced to grab 2 at a time.

The id list is gathered from this query.

SELECT guid FROM sunwell_world.creature
WHERE id in (1134,1135) AND guid NOT IN
( SELECT A.guid
  FROM sunwell_world.creature AS A
  JOIN trinity_world.creature AS B
  ON A.guid = B.guid
  WHERE A.id in (1134,1135) AND B.id IN (1134,1135)
);
Turns out TC is a subset of AC, with this fix both are the same. This result is much more tolerable.

The Perfect Stout: Rejold's New Brew has The Perfect Stout as prequest, not the otherway around.
http://www.wowhead.com/quest=415/rejolds-new-brew#comments:id=190337

Tunnel Rat:
Currently only 1 type drop ears, when all 6 should.
Some mobs have 4/5 drop rate.
http://www.wowhead.com/quest=416/rat-catching#comments:id=74106:reply=305815
Drop rate inside the cave is way higher.
http://www.wowhead.com/item=3110/tunnel-rat-ear#comments:id=353270

Red Silk Bandanas: Follows the second to last Defias Brotherhood quest, not Red Leather Bandanas.
http://wow.gamepedia.com/Quest:Red_Silk_Bandanas

Letter to Stormpike: Has Encrypted Letter as prequest.
http://wow.gamepedia.com/Quest:Letter_to_Stormpike

Kurzen Jungle Fighter: These should also drop Jungle Remedy.
http://www.wowhead.com/item=2633/jungle-remedy#comments:id=163587

Inspecting the Ruins: Has either They Call Him Smiling Jim or James Hyal as prequest, currently only the former.

Forked Mudrock Tongue droprate:
http://www.wowhead.com/quest=1204/mudrock-soup-and-bugs
http://www.wowhead.com/item=5883/forked-mudrock-tongue#dropped-by
Currently 25%, making it 40%.
From the comments some complain it's terrible, some say it's 100% and great.
I'm getting the suspicion it depends on the type of Mudrock. In the database there's 5 different Mudrocks, but as of patch 2.3, 4 turtle types were removed in favour of 1.
http://www.wowhead.com/npc=4396/mudrock-tortoise#comments
http://www.wowhead.com/npc=4398/mudrock-burrower#comments
http://www.wowhead.com/npc=4399/mudrock-borer#comments
http://www.wowhead.com/npc=4400/mudrock-snapjaw#comments

Trouble in Winterspring!: This is a breadcrumb quest, not a prequest.
http://www.wowhead.com/quest=6603/trouble-in-winterspring#comments:id=931604

Thick Yeti Fur droprate:
Increasing drop rates from 33% across the board.
http://www.wowhead.com/quest=3783/deprecated-are-we-there-yeti#comments:id=1043214
It varies between the types, and seems it was buffed at the end of wotlk.
http://www.wowhead.com/npc=7457/
http://www.wowhead.com/npc=7458/
http://www.wowhead.com/npc=7459/
http://www.wowhead.com/npc=7460/

Flesh Eating Worm and Rotting Worm:
These are the worms that spawn when a Rotted One in Duskwood and Rotting Cadaver in Western Plaguelands respectively dies.
http://wow.gamepedia.com/File:Flesh_Eating_Worm.jpg
I reduced the size based on the image from 2008, sorta got it right.
I reduced their damage to be 50% of the associated ghoul based on http://www.wowhead.com/npc=10925/rotting-worm#comments:id=245916.

Fool's Stout: Has Report Back to Fizzlebub as prequest.
http://wow.gamepedia.com/Quest:Report_Back_to_Fizzlebub

Half-Buried Bottle loottable:
This one was dropping Raptor Eggs at 71%, I'm taking the wild guess that that's wrong and just replacing it with the trinity core table.

SELECT name, gameobject_loot_template.*
FROM item_template
JOIN gameobject_loot_template ON item_template.entry = gameobject_loot_template.item
WHERE gameobject_loot_template.entry = 2032;
Run that for a quick laugh.

Atal'Ai Artifacts
I could hardly find any of these, turns out most of them were underground, so I moved them up a little.
Found 21 artifacts and 1 mithril deposit underground and 3 double spawned artifacts that are deleted.
Run around as a dwarf with the racial tracking to see what I mean.

Blue Pearls: These only drop from the Giant Clam objects in the vile reef.
Not Giant Clam objects in other zones nor clam items from murlocs.

Black Dragonflight Molt: This item is a guaranteed drop from the Hoard of the Black Dragonflight. Currently 88.8%
2017-08-19 18:06:31 +02:00
Kizarr d388a36cf1 [Database] Floating Corpse DK Starting/Scarlet Infantryman missing weapons (#539)
* Scarlet Infantryman missing weapons.sql

Fixes missing weapons from Scarlet Infantryman.

*  DB: Instructor Razuvious - Event with Acherus Necromancer and Death Knight Initiate.sql

*  DB: Instructor Razuvious - Event with Acherus Necromancer and Death Knight Initiate

* Fixed path and added Header to file 1

* Update path and add header to file 2

* Update path and add header to file 3

* Missing Header

* Rename \data\sql\updates\pending_db_world\rev_1503139021197350000.sql to data/sql/updates/pending_db_world/rev_1503139021197350000.sql

* Rename data\sql\updates\pending_db_world\rev_1503138647187080900.sql to data/sql/updates/pending_db_world/rev_1503138647187080900.sql

* Rename data\sql\updates\pending_db_world\rev_1503138789369120900.sql to data/sql/updates/pending_db_world/rev_1503138789369120900.sql
2017-08-19 16:16:47 +02:00
Yehonal 562f41b10b Merge pull request #504 from PolarCookie/db_minor_quest_fixes_3
minor quest fixes 3
2017-08-19 16:15:59 +02:00
Yehonal 08d23bb7d4 Merge pull request #483 from PolarCookie/db_minor_quest_fixes
minor quest fixes
2017-08-19 16:14:34 +02:00
Yehonal 5e272e6c92 Merge pull request #474 from STARRHELD/master
DB: Minor Fixes
2017-08-19 15:01:54 +02:00
Yehonal 7cef10a653 importing peding sql 2017-08-19 13:05:33 +02:00
Alan 1903bfc43d Fixed Brewfest Building is Darkmoon Faire Building and log error
* Create rev_1500226875532818300

Fixed Brewfest Building is Darkmoon Faire Building

* Fixed Brewfest Building is Darkmoon Faire Building

Fixed Brewfest Building is Darkmoon Faire Building
2017-08-19 12:59:47 +02:00
PolarCookie 138c094c5d auto-attack for warbear matriarch (#491)
* combat fix for warbear matriarch

* Update rev_1495461970084153283.sql
2017-08-19 12:52:49 +02:00
Yehonal 25d92a454d [Auth\DB] Set default expansion to 2 2017-08-19 11:43:44 +02:00
Yehonal 14a8088f86 import pending sql 2017-08-19 11:42:17 +02:00
Ercules76 30231de9db DB/Quests: Terrokkar Forest quest text typos. Tnx to 'tkrokli' (#564)
* Core/Misc Created handler for character creation

* DB/Quests: Terrokkar Forest quest text typos. Tnx to 'tkrokli'
2017-08-18 20:47:26 +02:00
Yehonal f26fcb49db Added GetBadges in Readme.md 2017-08-18 18:38:55 +02:00
Yehonal dbbd139a10 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-08-18 17:37:05 +02:00
Yehonal e197ffa1ef importing pedings (please it MUST be done right after accepting PR) 2017-08-18 17:36:52 +02:00
Ercules76 cf750cef61 Core/Misc Created handler for character creation (#562) 2017-08-18 11:40:38 +02:00
Rochet2 3d9fdeac76 Fix VS2017 build (#551) 2017-08-17 17:06:05 +02:00
Matteo bd4ec74318 Created hooks for first login and LFGMgr 2017-08-17 16:59:07 +02:00
Yehonal abc01d62f6 added more info to run-engine conf file
+ added a function that could be useful
if you want shutdown a screened server
at restarter crash
2017-08-17 16:53:14 +02:00
Yehonal 2afb767616 Minor improvements for OnFirstLogin hook
it can be casted with AT_LOGIN_FIRST flag check
2017-08-17 16:51:10 +02:00
Ercules76 10eddae700 Core/Spells now the spells for summon mount aren't affected by haste (#555)
* Core/Spells now the spells for summon mount aren't affected by haste

* Convert tabs to space

* Cleaning garbage of last commit
2017-08-17 15:28:58 +02:00
Inifield 6aff74cd17 Core/Command: Fix a crash when using wp show info pathid
Fix #530 thanks to @BarbzYHOOL for testing
2017-08-02 19:35:22 +02:00
talamortis f353f9b5bb When player has Animal blood applied the D.E.H.T.A camp will now be hostile if player goes near. 2017-07-03 22:53:57 +01:00
talamortis 79210edf4b Stranglethorn Vale chapter quest should no longer be repeatable.
quote of the day 'open source your home'
2017-07-03 21:57:50 +01:00
talamortis f36b6a9f89 Fix travis & compile error 2017-07-03 18:36:12 +01:00
talamortis 49e61d99d3 Fix Midsummer fire quest An Innocent Disguise aswell as fixed indentation. 2017-07-03 18:13:33 +01:00
Inifield 4c9dd9197d Core/Scripts: Adjust dalaran mageguards range
Resolve #473 I get better result with 5.0f
2017-07-02 15:39:06 +02:00
talamortis 45f74604c3 these checks are not needed. 2017-07-02 11:52:39 +01:00
talamortis 3561d52b10 PetAI update 2017-07-01 23:28:17 +01:00
talamortis ef7d1c3937 pets should now put players in combat unless they are feigned death or shadowmeld.
closes #520
2017-07-01 12:23:14 +01:00
Nefertumm fa147d84d2 Maybe not. Fk travis. 2017-06-30 19:19:12 -03:00
Nefertumm 2363e0802c More codestyle 2017-06-30 19:04:06 -03:00
Nefertumm 2bde13b3f7 Codestyle 2017-06-30 19:03:36 -03:00
Nefertumm c599c7e42e Tabs 2017-06-30 16:56:29 -03:00
talamortis c4d5b19ba5 closes #290 2017-06-30 16:21:54 +01:00
talamortis 8c624cc2f1 Rin'ji will now appear to be male and also can not be attacked by alliance why in cage
closes #408
2017-06-30 16:15:53 +01:00
talamortis 1b979e10a3 Closes #493 2017-06-30 14:48:56 +01:00
Nefertumm 5015e401f7 fix account.sql 2017-06-30 02:53:44 -03:00
Nefertumm d1e85e1c47 Merge remote-tracking branch 'refs/remotes/azerothcore/master' 2017-06-30 02:25:01 -03:00
Nefertumm 9d2484bfc7 Implement ip2nation and ip2nationCountries 2017-06-30 01:54:22 -03:00
Inifield 88b301a09b DB/Spell: Worg Disguise can be cancelled by right-clicking
Author : SnapperRy
2017-06-29 22:41:14 +02:00
Kevin 2da9db04eb Implemented OnPlayerReleasedGhost() hook 2017-06-29 18:59:37 +00:00
dr-j ef57d9ba69 DB/Quest: The Honored Dead add missing fire animation 2017-06-27 16:41:58 +02:00
Inifield dc4ee19b8d Core: Tabs sorry 2017-06-26 16:56:59 +02:00
Inifield bd799ecd5b Core/Player: Correct gender by modelid and avoid saving character with wrong gender
Closes #396

Author is MitchesD, Kittnz and Shauren
2017-06-26 16:43:13 +02:00
Inifield 445b88563f DB/Quest: Event will now start when player do /lay and Doc Mixilpixil will no longer despawn 2017-06-23 15:03:51 +02:00
Inifield 297fec113e Import pending sql 2017-06-14 00:20:20 +02:00
PolarCookie 7bedfcda7a Core/Quest : Fix he Missing Diplomat part 14 & 15
Author: @PolarCookie
2017-06-14 00:15:07 +02:00
Inifield 10db211b3c Import pending sql 2017-06-12 17:34:12 +02:00
Kalhac 8d6207430f Adding character deleted command from trinitycore (#164)
* Importing character deleted commands

* Adding command .character erase and SQL help description
2017-06-08 07:59:01 +01:00
Yehonal 09e9012d14 DB: fixed ugly mistake in char db update files 2017-06-08 02:45:12 +02:00
Кирилл 1a0a3e0578 Core/Locale: fix Locales for gossip menu option (#503) 2017-05-31 22:16:32 +01:00
Yehonal 1521451529 Bash: minor fixes to startup-scripts 2017-05-31 00:46:23 +02:00
PolarCookie 4e5cf3dd01 minor fixes in outland 2017-05-28 20:53:48 +02:00
PolarCookie 5eb55654a5 minor fixes in outland 2017-05-28 20:45:09 +02:00
PolarCookie 4d38ea8b2b minor fixes in outland 2017-05-28 20:29:53 +02:00
yehonal d397d8c7de importing pending sql 2017-05-28 07:37:28 -04:00
Iny 718669ffc6 Core/Naxxramas: Maexxna.
- Fix visual bug when Maexxna applied Web Wrap ability.
2017-05-25 22:02:58 +03:00
PolarCookie e003c068cb Bael'Gar's Fiery Essence condition 2017-05-25 18:29:06 +02:00
Render 791da540a9 Core/Spells: Touch of Zanzil now prevents stealth. (#481) 2017-05-25 12:08:49 +02:00
Lee f711316adc Core/Map: fix NPCs falling through the textures (#482)
this should stop creatures falling through the map (ie. if a cave is under the mountin)
2017-05-25 10:09:02 +02:00
ShinDarth c5b8d94dac DB: fix typo in SQL update file 2017-05-22 18:48:18 +02:00
PolarCookie cfd2d7eabc Core/Pet: Warlock pet base damage and stat fix (#480) 2017-05-08 15:11:08 +03:00
PolarCookie 3427036942 minor quest fixes 2017-05-08 10:06:43 +02:00
Yehonal 22a5408999 Removed useless code from db_assembler 2017-05-01 21:53:03 +02:00
Yehonal 3a59e01dda Imported missing sql 2017-05-01 21:24:19 +02:00
Yehonal 67ff8761ab Imported pending sql
To Devs: please remember to run bin/db_pendings/import.sh script
after merging of PRs that include sql files.
2017-05-01 21:17:34 +02:00
Yehonal 8836d161ff Improved db_assembler simplifying updating process
Implemented a check for versioning column to skip already applied updates
In this way the script can combine all updates under a single sql file
that can be imported directly in any case
2017-05-01 21:17:26 +02:00
Killyana e6c9795fe3 DB/Creature: Doctor Razorgrin 2017-04-28 05:15:12 +02:00
Aokromes b3b0c0586a DB/Creature: Fix Verifonix faction and reputation 2017-04-28 04:47:41 +02:00
Aokromes 91d75ec7ff DB/Quest: Challenge Overlord Mok'Morokk 2017-04-28 04:35:40 +02:00
Killyana 34d4354f41 DB/Creature: Fix Stonescythe Whelps faction 2017-04-28 04:03:16 +02:00
Keader b4fd041855 DB/Spells: Fixed spell range of Flush Pipe (Dalaran Sewers Knockback) 2017-04-28 03:55:08 +02:00
tkrokli ad3e232233 DB/Quests: Grimtotem Spying
Show actual player name in reward text (5064)
2017-04-28 03:44:08 +02:00
Killyana a62b193229 DB/Creature: Caer Darrow AREA
Added missing NPC(S) in Caer Darrow
2017-04-27 21:41:15 +02:00
Xyventh 7abf3f080f DB: RP event for Dame Auriferous, High Executor Mavren, Advisor Valwy…
...n and Deathstalker Maltendis
2017-04-27 21:31:41 +02:00
Xyventh 1fcc9d9d63 DB/Quest: The Prodigal Lich Returns
Added event upon handing in quest
2017-04-27 21:28:21 +02:00
Xyventh eeb575adfc DB/Creature: Hargin Mundar
Added the missing out of combat text
2017-04-27 21:20:49 +02:00
Xyventh daaa54b615 DB/Creature: R-3D0
Missing event for NPC R-3D0 in Blade's Edge Mountains
2017-04-27 21:12:00 +02:00
Francesco Borzì 604fa387b5 Update README.md (replace Gitter with Discord) 2017-04-18 18:55:36 +02:00
starrheld f397118a38 DB/Quest: Killing Two Scourge With (#464) 2017-04-15 21:54:19 +01:00
starrheld f4f1bca529 DB/Quest: Shoot 'Em Up (#463) 2017-04-15 20:02:21 +01:00
Кирилл 496536baad Core/Text: Locales for npc_text.
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/452#issuecomment-291891686
2017-04-05 18:28:54 +03:00
HeartWell a4e0979bf3 Core/Instance: Lost fix config option Rate.InstanceResetTime 2017-04-04 10:09:13 +03:00
Кирилл 4e40707f5a DB/SAI: fix quest leave no one behind close issue #447 (#449)
* DB/SAI: fix quest leave no one behind close issue #447

* lines
2017-03-31 20:05:26 +01:00
starrheld 0001a003b3 Core/Scripts: implemented enchant Blade Warding (#446) 2017-03-30 03:37:39 +03:00
Кирилл 46eff2667f Core/Instance: may fix config option Rate.InstanceResetTime (#441)
* Core/Instance: may fix config option Rate.InstanceResetTime and close issue #440 #284 #188

* Core/Instance: may fix config option Rate.InstanceResetTime and close issue #440 #284 #198
2017-03-27 17:58:41 +02:00
Gargarensis e7582c9ac7 Ashbringer event inside Scarlet Monastery instance (#280)
* Ashbringer event inside Scarlet Monastery instance

* Fixed git version

* skipped a line, i should go to sleep
2017-03-26 15:45:49 +02:00
Yehonal 4fdaa4444e Hook for player data loading from db 2017-03-26 13:49:41 +02:00
Yehonal 945b35f5eb Missing arguments for OnAfterArenaRatingCalculation 2017-03-26 12:33:56 +02:00
Yehonal ddd03e9718 Fixed mmaps_generator compilation on windows
however it's a workaround, rework needed
2017-03-26 01:09:45 +01:00
Yehonal 2f71abc6c6 implemented cmake options to disable extra features for performances optimization
can be easily extended to all features that can be optional
but have high performance impact
2017-03-26 01:09:45 +01:00
Yehonal 12fa25c322 Some cmake improvements for modules 2017-03-26 01:09:44 +01:00
Yehonal 603753dfff CMAKE: implemented method to disable a module via cmake
use -DDISABLED_AC_MODULES or config.cmake file to define it
2017-03-26 01:09:44 +01:00
Yehonal ab98e56839 Allow custom include directories for cmake hooks 2017-03-26 01:09:43 +01:00
Yehonal c6bfab883f Ruby Sanctum: Fixed Siphoned might distance check 2017-03-26 01:09:43 +01:00
Yehonal b522a0cb72 Implemented gperftools support
it allows you to profile cpu/memory under unix systems
2017-03-26 01:09:42 +01:00
Yehonal 693dc56bf1 Moved uwd modules under drassil 2017-03-26 01:09:42 +01:00
Yehonal c6c21fac1f Fixed death knight Army of the dead pet damage
it also scale with level now
2017-03-26 01:09:40 +01:00
Yehonal f95ba1db79 Avoid high level auras on pet when summon 2017-03-26 01:09:40 +01:00
Yehonal b652300542 fixed totem rank scaling with low level players 2017-03-26 01:09:39 +01:00
Yehonal 5514859e56 Implemented custom expiration parameter for SendMailTo 2017-03-26 01:09:39 +01:00
Yehonal ed037f04bb Fixed area aura scaling on lower level players 2017-03-26 01:09:38 +01:00
Yehonal ca0c630b86 Fixed heirloom armor mod for cloak 2017-03-26 01:09:38 +01:00
Yehonal b1c5c2aa71 Moved onStartup hook under Master.cpp to avoid issues with freezing check 2017-03-26 01:09:37 +01:00
Yehonal 28e2d76cb4 Fixed possible crash with unordered maps 2017-03-26 01:09:37 +01:00
Gargarensis 813be46f17 moved hook from battleground script to formula script 2017-03-26 01:09:37 +01:00
Matteo Emili cbdecc0828 Fixed hooks OnPlayerJoinArena and OnPlayerJoinBG 2017-03-26 01:09:36 +01:00
Gargarensis 25a38da1e3 hook OnAfterArenaRatingCalculation 2017-03-26 01:09:36 +01:00
Matteo Emili 0cf5a7cc1a Created new hook for AttackPower 2017-03-26 01:09:35 +01:00
Matteo Emili 5eb789d4dc OnBeforeUpdateAttackPowerAndDamage -> OnAfterUpdateAttackPowerAndDamage 2017-03-26 01:09:35 +01:00
Matteo Emili 15b1a99b55 New hook OnBeforeUpdateAttackPowerAndDamage 2017-03-26 01:09:34 +01:00
Matteo Emili f3b2dd4f1f New hook OnAfterUpdateMaxHealth 2017-03-26 01:09:34 +01:00
Matteo Emili cb6fbe79e5 Fix to OnBeforeRollMeleeOutcomeAgainst hook 2017-03-26 01:09:33 +01:00
Matteo Emili cc0f7cee68 Fix for OnAfterUpdateMaxPower hook 2017-03-26 01:09:33 +01:00
Matteo Emili a67c6eeddf New hooks OnAfterUpdateMaxPower and OnBeforeRollMeleeOutcomeAgainst 2017-03-26 01:09:33 +01:00
Gargarensis f6be52ab40 fix hook 2017-03-26 01:09:32 +01:00
Gargarensis a870e5fae4 hook before a player buys something 2017-03-26 01:09:32 +01:00
Yehonal 384ff412bf fixed parentheses 2017-03-25 20:05:04 +01:00
Matteo Emili 1bf0f981cc New hooks OnAfterRefCount and OnBeforeDropAddItem 2017-03-25 20:02:58 +01:00
Кирилл b32a9b244b Core/BG: WG Tenacity Buff fix
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/430
2017-03-24 07:30:36 +03:00
starrheld 21c5562702 [VANILLA][OBJECT] Gold Vein, Ooze Covered Gold Vein, Tin Vein, Mithril Deposit (#436)
Removal of some incorrectly spawned objects in Durotar.
2017-03-21 22:18:23 +00:00
Rochet2 31f43a6cd1 Fix the encoding problems from https://github.com/azerothcore/azerothcore-wotlk/commit/e4a3f61e7234089a8440e327e2fb397ee9fde8d2 2017-03-20 17:50:23 +02:00
Lee 0a7416d86a Merge pull request #434 from Viste/pvptoken
Fix config option PVP_TOKEN_ENABLE close issue #183
2017-03-20 07:52:12 +00:00
Viste 4a88315b07 Fix config option PVP_TOKEN_ENABLE close issue #183 2017-03-20 02:15:09 +03:00
starrheld a67ceca682 Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This resolves another authentication bypass issue 2017-03-19 21:18:43 +03:00
triluch 6908181569 Core/Misc: Fix building mmaps_geenrator on linux. 2017-03-17 10:26:40 +03:00
starrheld c4ed0375d4 DB/Item: Missing loot from Leandro's pet box and Gift box. 2017-03-16 14:39:44 +03:00
Кирилл 0c414a05be Core/Quest: Fixed display of quests.
Closes https://github.com/azerothcore/azerothcore-wotlk/issues/420
2017-03-15 22:58:23 +03:00
HeartWell fbe5e8c0dc Core/Command: Added disable commands. (#423)
* Core/Command: Added disable commands.
2017-03-15 10:48:28 +03:00
HeartWell e4a3f61e72 Merge pull request #425 from Rochet2/patch-1
Fix bad SQL
2017-03-14 23:37:34 +03:00
Rochet2 77d08db26c Remove stored procedure from sql 2017-03-14 21:42:56 +02:00
Rochet2 93ffaebc83 Add fixed SQL 2017-03-14 21:29:14 +02:00
Rochet2 cd53bad4e2 Delete bad SQL 2017-03-14 21:24:03 +02:00
Кирилл e0d951c16c May fix issue #306 need tests (#421) 2017-03-10 19:45:09 +01:00
ShinDarth e04409ee23 Import pending SQL files 2017-03-04 14:32:14 +01:00
ShinDarth 79e86bc2e4 Added SQL file using the proper format 2017-03-04 14:25:45 +01:00
Lee 9c82b2179b Merge pull request #406 from starrheld/master
Minor fixes!
2017-03-03 20:23:34 +00:00
Кирилл 4a6350dc83 Locales for quests (#407) 2017-03-03 16:24:20 +01:00
starrheld a8e09d7c31 [NPC] Lagoon Eel
Currently swimming above water surface.
2017-03-03 12:07:40 +01:00
starrheld 2e497c0f85 Update spell_generic.cpp 2017-03-03 12:02:21 +01:00
Lee d973e2a44f Merge pull request #404 from kvipka/blink
Implement blink v4.5 for AzerothCore
2017-03-01 18:17:41 +00:00
lee1991 a893619cb0 Revert " Load scripts AFTER server configuration has been initialized."
This reverts commit afac94ee1d.
2017-03-01 16:28:38 +00:00
starrheld a845a3c1d4 Update spell_generic.cpp 2017-02-28 19:53:18 +01:00
Ariel- 486be4b766 implement Moss Covered Feet
implement Moss Covered Feet
2017-02-28 19:49:38 +01:00
kvipka fea7cc7775 Implement blink v4.5 for AzerothCore
http://forum.deadmines.org/threads/blink.7/
blink in abyss
blink by path ( rechecking each step )
where player can walk - blink will available there
implemented check on dynamic objects (locked doors and etc)
implemented total path of blink.
2017-02-28 20:52:50 +03:00
Lee 54e25518c3 Merge pull request #393 from starrheld/master
Minor SQL Fix
2017-02-22 22:01:47 +00:00
starrheld 3b7128cc37 [NPC][EVENT] Kruban Darkblade <Darkmoon Faire Barker>
Should only be present when Darkmoon Faire event is active.
2017-02-21 22:37:23 +01:00
Lee c92d0403a7 Merge pull request #389 from starrheld/master
[NPC][VANILLA] Rotting Agam'ar
2017-02-20 18:53:05 +00:00
starrheld 306f177b82 [NPC][VANILLA] Rotting Agam'ar
Should not be in the air, should be in Razorfen Kraul.
2017-02-19 22:28:49 +01:00
Francesco Borzì b2b365b209 Merge pull request #388 from ShinDarth/test_git_author2
Fix git commit author
2017-02-19 22:22:32 +01:00
Killyana e297b159bc Fix git commit author 2017-02-19 22:20:30 +01:00
Francesco Borzì 99cc6965c1 Fix git commit author (#387) 2017-02-19 22:16:42 +01:00
Lee 231d9928a6 Merge pull request #386 from starrheld/master
[QUEST][VANILLA] Elven Legends
2017-02-19 21:10:39 +00:00
starrheld fa4a5e409c [QUEST][VANILLA] Elven Legends
Fixed Gossip and you can now complete the quest.
2017-02-19 22:01:49 +01:00
killyana 8901e39cde Fix for Wandering Shay Author Killyana 2017-02-19 20:45:18 +00:00
Lee a0f50a3dd9 upadte
fixed typo
2017-02-19 19:10:46 +00:00
Lee 3a76256d95 Merge pull request #385 from starrheld/master
Minor SQL fixes
2017-02-19 18:52:57 +00:00
starrheld 95986e65b6 Space removed 2017-02-19 19:32:18 +01:00
starrheld 5506842744 [QUEST][VANILLA] Scalding Mornbrew Delivery
Removed timer which got removed in patch 3.3.0.
2017-02-19 19:31:35 +01:00
starrheld bdda70c204 [QUEST][WOTLK] The Ancient Armor of the Kvaldir
Fixed where you could not use Harry's Bomber.
2017-02-19 19:29:51 +01:00
Lee 9d51ade2c6 Merge pull request #384 from starrheld/master
[NPC][TBC] Spirit of Ar'tor
2017-02-19 14:56:50 +00:00
Lee ddb15e478b Update rev_1487514602617381300.sql 2017-02-19 14:54:34 +00:00
Lee 7c8858fa11 rev_1487514602617381300.sql
Added an extra line to avoid db compile error
2017-02-19 14:54:24 +00:00
starrheld 352e11ab34 [NPC][TBC] Spirit of Ar'tor
Fixed so that the player gets the appropriate See Invisibility spell
when completing the quest [Demonic Crystal Prisons].
2017-02-19 15:50:08 +01:00
Lee b8b8a469c4 Merge pull request #383 from starrheld/master
[QUEST][WOTLK] Basic Chemistry
2017-02-19 14:46:44 +00:00
starrheld 8ac6810d27 [QUEST][WOTLK] Basic Chemistry
Fixes item cooldown from 1 min 30 seconds to 30 seconds, to remedy the
uncompletable quest [Basic Chemistry]. Please remove your items cache in
your World of Warcraft directory to reset the item cooldown.
2017-02-19 15:31:59 +01:00
lee1991 7408b67629 Why was we getting the player within 40f?, 12f is probly still a little to much but it works. 2017-02-15 20:03:15 +00:00
lee1991 afac94ee1d Load scripts AFTER server configuration has been initialized. 2017-02-12 11:06:25 +00:00
lee1991 307ae9d1bf Travis fix 2017-02-11 18:59:59 +00:00
lee1991 4e420b1d7b Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-02-11 18:37:01 +00:00
lee1991 d5b9825c64 Noth will now cast curse when he teleports back to the ground
closes issue #370
2017-02-11 18:36:49 +00:00
Lee 5291b5d21d Merge pull request #369 from starrheld/master
Minor SQL fixes
2017-02-10 20:39:01 +00:00
h0rs 57b8cf0235 Fix refer a friend Summon 2017-02-10 20:24:17 +00:00
lee1991 b6d1d5dd56 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-02-08 10:54:23 +00:00
lee1991 1b379027c6 Fix Paladin's Greater Spell
closes #373
2017-02-08 10:53:42 +00:00
Lee ca1d18820b Merge pull request #371 from Inifield/mmapsversion
Core/Extractors : Fix MMAP version
2017-02-07 18:56:36 +00:00
Blumfield 90485322eb Core/Extractors : Fix MMAP version, you should be able to extract them and use them again 2017-02-07 14:37:03 +01:00
Rushor 6dd44c08f7 Author commit
Squash Commit

[NPC][WotlK] Stormforged Saboteur

Missing their path(s), just walking in random movements.

[NPC][WotLK] Slosh

Wrong movement and waypoints.

[NPC][WOTLK] Hamat

Updated to the correct Aura, NPC will appear as sleeping instead of
standing up.

Acherus Deathcharger and Crimson Deathcharger visuals

NPC][WOTLK] Snorts

Appropirate aura

Added Flag for guard - Deathguard Elite

Deathguard Elite
-- creature is a guard (Will ignore feign death and vanish)

[NPC][WOTLK] Libary Guardian

Will now use the correct spell on Databank and use the correct waypoints
2017-02-07 14:09:01 +01:00
lee1991 e25a499c78 Changed the spawn location of Anubrekhan adds to be more blizzlike 2017-02-05 20:00:53 +00:00
lee1991 a60a379c30 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-02-04 21:30:46 +00:00
lee1991 8da076247d closes #352 2017-02-04 21:30:37 +00:00
Lee b0f92a6d4f Merge pull request #368 from starrheld/master
Minor SQL fixes
2017-02-04 13:54:50 +00:00
starrheld fe62b78a5e CIVILIAN RECRUIT CHANGED MODIELID FROM 3422 TO 24821/24818 2017-02-04 14:15:01 +01:00
starrheld 8cab34a8b3 BRITTLE REVENANT LOOT TABLE AND DROP RATE FIXED 2017-02-04 14:13:50 +01:00
h0rs 86773657f6 Fix Quest for Convocation at Zol'Heb (12730) and quest 17013
closes #259 #34
2017-02-04 09:22:35 +00:00
lee1991 846514785d travis fix and database fix 2017-02-03 13:56:59 +00:00
lee1991 6ec1933143 Indention fix for trial_of_the_champion.cpp 2017-02-03 12:48:57 +00:00
lee1991 d7bc82bc13 pushed all pending sqls. 2017-02-03 12:44:48 +00:00
lee1991 a0aff6d241 Few start up error fixes. 2017-02-03 12:36:57 +00:00
lee1991 f6aded340d error was caused because of LOS, removed LOS for the spell.
closes #213
2017-02-03 11:04:54 +00:00
lee1991 7830b128a2 Removed script for Gurubashi event now controlled by database. 2017-02-03 10:40:34 +00:00
lee1991 c37b75ba10 Added Emote so when boss speaks she will do emote on that text.
closes #364
2017-02-03 09:35:56 +00:00
lee1991 8469723438 Indention Fix for trial_of_the_champion 2017-02-02 21:59:57 +00:00
lee1991 e3420ed513 Anub'Rekhan will now summon two creatures in Naxxramas 25m, it will no longer spawn a Crypt guard in 10 man.
closes #215
2017-02-02 21:26:06 +00:00
Lee 426e9ae24a Merge pull request #347 from starrheld/master
Minor Fixes SQL patch
2017-02-02 19:22:22 +00:00
lee1991 67eeab01fc Fix creature error when loading creatures on start. 2017-02-02 15:26:38 +00:00
h0rs 45d1cc3c52 Fixed the channel chat to display properly instead of righting to lower case
close #282
2017-02-02 10:59:08 +00:00
lee1991 5a04cc3f97 made the creatures in the sewers attach each other and use spells
closes #362
2017-02-02 10:28:35 +00:00
lee1991 9c7a7d3335 Put a space to tidy code up for previous fix. 2017-02-01 15:17:05 +00:00
lee1991 6b6f260dc0 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-02-01 10:18:51 +00:00
lee1991 8c7f995fae Fixed brann_bronzebeard in halls_of_stone to stop moving near the end door, also does emote at end Waypoint to make it more blizzlike
Closes #361
2017-02-01 10:18:38 +00:00
Yehonal 85aed79466 fixed pending sql for new db structure 2017-01-30 17:41:16 +01:00
rushor 657bcc082b Minor Updates patch SQL (Rushor) squash.
Minor Updates patch SQL (Rushor) squash.

Minor Updates patch SQL (Rushor) squash.

Minor Updates patch SQL (Rushor) squash.

Heldgarr Steelbeard - Unable To Shoot at Target

[Quest][WotlK] The Last of Her Kind FIX

Adding Textevent of Civilian Recruit inside building and updating model

DB/Creature: Bellinger and Bailey

DB/Creature: Snowblind Devotee

DB/Creature: Torseg the Exiled

Janks's missing mine event - DB: Janks's mine event

Initiate Park - Pathing and Emotescript FIX

Initiate Vernon + Initiate Greer - Textevent and Pathing FIX

Apprentice Trotter - Pathing + Emotescript FIX

Librarian Hamilton - Add pathing and Emotescript FIX

Karen I Don't Caribou the Culler - Better Pathing Added and Correct SpellID 46147 FIX

Armorer Orkuruk - Missing Hate Texts FIX

Wind Master To'bor & Warsong Wind Rider Script FIX

Warden Nork Bloodfrenzy & Son - Conversation

Mogg and Pooka added their Storyscript

Revert "Wind Master To'bor & Warsong Wind Rider Script FIX"

This reverts commit d707e0e16d8d8431eb4c0f16d7efa0f6e850552d.

[NPC][Wotlk] Jimmy the Stable Boy - Missing Pathingscript

[NPC][Classic] Misc - Pathing and Emotestateupdates for Hammerfall Guardian, Horde Guard, Peon and Westfall Woodworker

[NPC][Classic] Wretched Ghoul + Zoombie - Attackevent + Pathing

[NPC][WotlK] Ironwool Mammoth

Patrolling Event + Mini Event FIX

[NPC][Classic] Lumberjack - Added Emotes and Pathing

[NPC][Classic] Defias Thug - Emotes + Pathing + Randommovement

[NPC][Classic] Zalduun <Priest Trainer> - Heal + Pathing + Text

[NPC][Classic] Scarlet Deserter Event with Gothik the Harvester

[NPC][Classic] Gothik the Harvester - Implement resurrection Event for Scourge Gryphon and Scarlet Ghoul

[NPC][Classic] Lord Thorval - Link Texts to Movement

[NPC][WotlK] Ore Cart - Questevent for "Fruits of Our Labor"

[NPC][TBC] Mordenai - Add Movement and Attackscript

[NPC][TBC] Chancellor Bloodleaf - Textevent with Corok the Mighty

[NPC][TBC] Painmistress Gabrissa - Pathing and Castscript

[NPC][TBC] Eye of the Citadel - Revengetext On Death of Morkh

[NPC][TBC] Levixus - Missing Announce of Blizzard Crew Member(s)

[NPC][TBC] Experimental Pilot - Conversation with Engineering Crewmember(s)

[NPC][TBC] Consortium Nether Runner - Text and Pathscript

[NPC][TBC] Nurse Judith - Pathing + Emotescript

[NPC][Classic] Eye of Naxxramas - Spawn + Pathing

[NPC][WotlK] Durkot Wolfbrother - Added Pathing and Emoteevent

[Quest][Northrend][Icecrown]"Battle Before The Citadel" - Phasing Issue

[Quest][NorthRend][Icecrown]At The Enemy's Gates - Phasing Issue

[Item] Plans: Ragesteel Helm Should Only Drop From Anger Guards

[Instance] Deadmines - Rework (Formation and Waypoint(s).

[Instance] Caverns of Time: Old Hillsbrad Foothills - Full Rework

Revert "[NPC][Classic] Wretched Ghoul + Zoombie - Attackevent + Pathing"

This reverts commit fa0ddfad99792f92b0bcf8f219eb59ab198bf60f.

[NPC][WOTLK] Argent Cannon

[DUNGEON][WOTLK] Trial of Champions

Fix for speed_run for all of the NCP(S)

Update rev_1485734753369055900.sql

Added two more NPC(S),
Ambrose Boltspark & Lana Stouthammer
2017-01-30 01:56:26 +01:00
Yehonal fd83cd8a85 DB/Fix: gurubashi arena
data from:

https://github.com/TrinityCore/TrinityCore/issues/7699

https://github.com/TrinityCore/TrinityCore/commit/32042682004c058909f0d56be03cf5e872e2b05c
2017-01-29 17:09:08 +01:00
lee1991 c60dc9d3a3 Noth the Plaguebringer update, he will now stay on the balcony instead of floating back down to the center 2017-01-28 18:30:51 +00:00
lee1991 ad0d548c22 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-01-25 09:43:11 +00:00
lee1991 ccfb800844 Fix the speed problem of the summoned creatures when encounter starts.
Removed the Freeze animation spell
changed the orientation of Jadoga.
2017-01-25 09:42:57 +00:00
Iny 44c71f6b85 Update issue_template.md (#341) 2017-01-24 23:12:33 +01:00
lee1991 d24d3818a5 Fix Travis 2017-01-24 20:58:46 +00:00
lee1991 f2acb77794 Pending SQL, pushed. 2017-01-24 19:52:32 +00:00
Lee b82f52d7eb Quest Fixes
Fix quests 
1. The Black Knight's Orders
 - The griffin will correctly dismount as it reaches the end waypoint.

2. At The Enemy's Gates
 - The Argent mounts are now mountable.
 - Creatures for this quest has had their health reduced. 

closes #303
2017-01-22 14:31:15 +00:00
Lee a0ade8571f Update mushrooms
Made mushrooms so they are now attackable and selectable. Source : http://wowwiki.wikia.com/wiki/Amanitar
Issue close: #331
2017-01-22 12:25:04 +00:00
Lee 79567a6478 Fix quest Death Comes From On High
Fixed quest: Death Comes From On High.
2017-01-21 17:33:31 +00:00
talamortis e30ae1d4c3 Prince fix
Prince fix
2017-01-12 18:55:38 +00:00
talamortis 5125c6aee7 Prince Phase 3 fix
fixed a error for when prince was at 30% life he didnt go into phase 3.
2017-01-12 18:27:40 +00:00
talamortis b9e68be71c dupelicate file.
duplicate
2017-01-12 11:23:08 +00:00
talamortis f0c00ffe8f added file type at the end
added filetype
2017-01-12 11:22:15 +00:00
talamortis 3312b0ebdd Merge pull request #287 from talamortis/talamortis-patch-2
Fix and Argent Defender & Kurzan Commando stealth
2017-01-10 20:30:26 +00:00
talamortis 6854d17eed Merge pull request #318 from Inifield/ext1
Core/Maps: Extractors will now extract datas as it should
2017-01-10 19:55:03 +00:00
talamortis edcef5b8d4 Merge pull request #196 from azerothcore/talamortis-patch-1
Bloodlord Mandokir will now say the correct phase when "getting ready to charge" and also reset correctly when leaving / resetting.
2017-01-10 19:40:03 +00:00
talamortis 0da7ceba8f Merge pull request #316 from azerothcore/karazhan_rework
Karazhan rework also fix travis
2017-01-10 18:45:18 +00:00
lee1991 b891de029f fixed typo. 2017-01-09 20:59:02 +00:00
lee1991 b65aa9f7f5 Fix error in travis log. 2017-01-09 20:42:48 +00:00
lee1991 adeef5b1df Code cleanup and also make Shade select a random target 2017-01-09 20:38:28 +00:00
Blumfield e6a44151f8 Core/Maps: Extractors will now extract datas as it should 2017-01-09 19:47:04 +01:00
lee1991 198e07fed7 added NPC Relay to script, stop prince Error. 2017-01-09 18:46:04 +00:00
lee1991 fed7745781 indention fix 2017-01-09 18:37:02 +00:00
lee1991 b2f011c748 indention fix 2017-01-09 00:02:55 +00:00
lee1991 a395678bb2 Prince Rescript and a few boss code Cleanups 2017-01-08 23:46:15 +00:00
Iny a655ddcbc0 Core/Tools: Fix compilation of tools under windows (#312) 2017-01-06 13:36:09 +01:00
Yehonal 092b9c85e1 Revert "Prince rework and Nightbane code clean up"
This reverts commit 25a3b5fb0e.
2017-01-06 01:47:57 +01:00
lee1991 d63d3aa5f0 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-01-05 21:48:06 +00:00
lee1991 25a3b5fb0e Prince rework and Nightbane code clean up 2017-01-05 21:47:55 +00:00
Stefano Borzì f549a25501 DB/World schema: split quest_template and quest_template_addon and renamed some fields (#291) 2017-01-04 14:08:28 +01:00
justdothings fd305ad8a6 Script/Spell: Shadowmourne - Soul Fragment Proc (Enable on BG And Arena) (#307) 2017-01-01 15:39:32 +01:00
Blumfield c3612fed30 Core/Arena: Add config option for Arena.QueueAnnoncer (#305) 2017-01-01 11:41:34 +01:00
Yehonal 858955b68c Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-12-29 21:02:19 +01:00
Yehonal 073f473872 uncommented network log 2016-12-29 21:02:09 +01:00
Yehonal 56832eb2b2 updated doc submodule 2016-12-29 21:01:50 +01:00
lee1991 a45924e7b2 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-12-29 19:24:30 +00:00
Irome 1eb07581fe Merge pull request #300 from Helias/schema-quest
DB/World schema: updated quest_template table
2016-12-29 12:12:16 +01:00
Helias b84de8b2f0 DB/World schema: updated quest_template table 2016-12-28 22:09:39 +01:00
Helias 9f31206a1f DB/World schema: updated quest_template table 2016-12-28 20:44:08 +01:00
Ennio Visconti 7025bad000 Merge from polaretto/azerothcore-wotlk 2016-12-28 10:38:00 +01:00
Polaretto 96bf8cb0f3 Update .travis.yml to fix latest integration errors.
Revert to Ubuntu 14.04 LTS
2016-12-28 10:28:44 +01:00
Polaretto bd9b4e84b6 Updated .travis.yml to support missing dependencies. 2016-12-27 12:51:50 +01:00
Polaretto c40f4c48bd Update .travis.yml to show more error details. 2016-12-27 12:48:32 +01:00
Polaretto e477b6b495 Update .travis.yml
Should fix latest Travis errors.
2016-12-27 12:42:41 +01:00
lee1991 f45cc5da3d Made the instance Karazhan open for normal players to enter 2016-12-26 10:16:32 +00:00
lee1991 6663e7986e Karazhan changes to make it now playable for players. all event work apart form chess event 2016-12-26 09:34:53 +00:00
lee1991 298f3c0a8b Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-12-26 09:24:57 +00:00
talamortis 17d6fd9418 indention fix
fix indention
2016-12-20 07:45:32 +00:00
talamortis 5ca25a8362 Fix Argent Defender 2016-12-19 21:36:06 +00:00
Francesco Borzì 068ac593cb Revert "[QUEST] [A] 12499 and [H] 12500 - Return To Angrathar (lack of phasing after completing quest)" (#286) 2016-12-19 18:30:35 +01:00
xml21 a8b864f186 DB/World/SpellArea: fix Return To Angrathar (lack of phasing after completing quest) (#283) 2016-12-18 19:15:52 +01:00
Yehonal bdad39fada fixed latest sql update
please use the standard protocol for PR in sql
2016-12-17 13:22:18 +01:00
Yehonal 4f82a3c2fa Fix for char db and auth db updates 2016-12-17 13:08:49 +01:00
Yehonal 3040693c2e DB: alter table mistake in sql update 2016-12-17 12:55:10 +01:00
sucofog 9d0c8dc71b Scripts/Karazhan: Undeclared spell, fix for #96 #101 (#279) 2016-12-16 10:16:01 +01:00
3ndos b7ee1a9f12 More hooks for Scripts/Modules (#270) 2016-12-07 09:12:01 +01:00
HeartWell 440b7e731f Core/ChatHandler: Fix for config mute. (#272) 2016-12-02 19:09:17 +01:00
sucofog 09419e53b8 Core/Text: Add support for BroadcastTextID in creature_text table. (#265) 2016-12-02 11:30:39 +01:00
devovh 6d740d4ab1 Core/SmartScripts: Fix Deadmines door lever not opening door. (#269) 2016-11-30 19:01:43 +01:00
ShinDarth dc8f05ec93 Merge remote-tracking branch 'upstream/master' 2016-11-26 21:19:53 +01:00
ShinDarth cdb8245464 Import pending SQLs 2016-11-26 21:08:10 +01:00
moob0 95743d0380 Core/ScriptMgr: added new hook OnBeforeUpdateArenaPoints (#261) 2016-11-26 21:05:59 +01:00
Shin 81b195099b DB/World: move questItem* fields to *_questitems tables (#249) 2016-11-25 20:23:44 +01:00
Maczuga 084929c558 Core/PetHandler: Fix pet level issue on UNIX systems 2016-11-24 20:12:42 +01:00
moob0 a9ca43310e Core/Misc: identation fixes 2016-11-22 22:32:50 +01:00
Matteo Emili bb429b22cf New hooks OnEquip, OnPlayerJoinBG, OnPlayerJoinArena 2016-11-22 20:11:40 +01:00
ShinDarth 19e3492372 DB/Auth: fix column name in update file, thanks @DarkmoonRabbit 2016-11-21 19:33:25 +01:00
ShinDarth 98b7ce9ea7 DB/Updates: fix syntax error in SQL update file 2016-11-20 17:13:23 +01:00
HeartWell fdfd3856ad Core/Chat: Add config to mute player first login. (#234) 2016-11-20 16:02:12 +01:00
ShinDarth 11a88b7121 Merge branch '1.x' 2016-11-19 12:37:57 +01:00
ShinDarth a215b276ca Imported pending SQLs 2016-11-19 12:37:05 +01:00
Yehonal d591c1169e Update AuthSocket.h 2016-11-19 00:28:32 +01:00
Yehonal 8c9237027c Update AuthSocket.h 2016-11-19 00:26:31 +01:00
Yehonal 506df780cc Merge branch '1.x' 2016-11-19 00:19:34 +01:00
Yehonal 7e56f3f1fc Implemented hook for Player::MoveItemFromInventory 2016-11-19 00:18:44 +01:00
talamortis 7f4e075003 Kurzan Commando
Kurzan Commando SmartAI Fix
2016-11-18 21:49:47 +00:00
lee1991 c22fb83508 Fix Kurzan Commando Stealth 2016-11-18 21:47:39 +00:00
talamortis c1ee9c737b Update spell_paladin.cpp 2016-11-18 21:05:06 +00:00
talamortis 5e32d07860 Core/Script Paladin Argent Defender
Fix Spell Paladin Argent Defender
2016-11-18 19:52:14 +00:00
Chaosvex e6f1dd8ead Core/Auth: Resolved critical vulnerability on auth system bypass 2016-11-18 16:23:34 +01:00
Chaosvex 096a77bac2 Core/Auth: Resolved critical vulnerability on auth system bypass 2016-11-18 16:22:51 +01:00
Yehonal aeb9406860 fixed alter tables 2016-11-18 13:42:32 +01:00
Yehonal b94531b191 Created needed files for "sql pending system"
+ added README file to db_exporter
2016-11-18 13:28:25 +01:00
Yehonal 212edb5034 Archived old sql files, they are now integrated in base 2016-11-18 13:23:30 +01:00
Yehonal 59d568d603 Removed procedure to avoid "mysql gone away" issue for timeout
NOTE: We should avoid huge updates files, they must be splitted
2016-11-18 11:52:12 +01:00
Yehonal 070f15458b improved gitignore for modules 2016-11-18 11:15:57 +01:00
Yehonal b0e118fe07 fixed install.sh url for joiner 2016-11-18 11:15:47 +01:00
talamortis 4d4ec1e92a Merge pull request #194 from talamortis/patch-1
Fix Quest Evil Draws Near
2016-11-17 23:12:11 +00:00
Yehonal 001af4e85b custom files must be always resetted on full db_assembling 2016-11-17 19:28:25 +01:00
Yehonal d53b5522f9 Updated ScriptMgr with new function to favorite transmog module 2016-11-17 10:28:08 +01:00
Shin 1ec1d16554 DB/Misc: minor structure improvements
- Affects #https://github.com/azerothcore/azerothcore-wotlk/issues/236
2016-11-15 21:54:45 +01:00
ShinDarth d5ab362277 Core/LootMgr: prevent loot issues in case of crossfaction groups 2016-11-12 18:11:51 +01:00
HeartWell 7128d14b09 Scripts/Pet: Gargoyle shouldn't attack ghoul target. (#229) 2016-11-08 09:12:27 +01:00
ShinDarth cd6209cdb1 Import pending SQLs 2016-11-06 20:35:23 +01:00
HeartWell f61f6221e8 Scripts/Commands: Adding command reload broadcast text. (#228) 2016-11-06 20:34:41 +01:00
ShinDarth 5e8a68486b Bin/SQL-Generator: fixed macOS import + minor improvements 2016-11-06 20:02:30 +01:00
HeartWell 58f24c8933 Core/Text: Implemented BroadcastText. (#227) 2016-11-06 14:30:52 +01:00
ShinDarth 0b18f71c00 Import pending SQL 2016-11-05 20:45:47 +01:00
HeartWell c8cc99be37 Core/Object: Localization objects. (#226) 2016-11-05 20:43:11 +01:00
ShinDarth f54f7ce7dc Fix SQL syntax + import pending SQLs 2016-11-05 19:02:24 +01:00
talamortis 0d0e92c86e DB/CreatureQuestStarter: fix Image of Drakuru quest (#201)
Image of Darkuru will now give quest 35797
2016-11-05 18:59:49 +01:00
HeartWell b25dbaa96b Core/Text: Implemented locales_points_of_interest. (#225) 2016-11-05 17:21:38 +01:00
ShinDarth b8a30dd543 Import pending SQL 2016-11-05 15:32:25 +01:00
HeartWell 55873c1891 Core/Creature: Localization creatures. (#224) 2016-11-05 15:28:49 +01:00
ShinDarth a52fbb398f Import pending SQLs 2016-11-05 08:39:46 +01:00
Blumfield dc2c3d1fde Core/Chat: Fix crash when using a command (#220) 2016-11-05 08:37:58 +01:00
HeartWell 8088ca220a Core/Item: Localization items. (#223) 2016-11-04 21:03:48 +01:00
HeartWell b9aa88ac2b Core/Text: Implemented locales_page_text. (#221) 2016-11-03 20:00:04 +01:00
ShinDarth 7e4328b588 Removed empty SQL file 2016-10-29 23:50:20 +02:00
ShinDarth 61a49421bf Merge remote-tracking branch 'upstream/master' 2016-10-29 23:47:46 +02:00
ShinDarth de5fb1a53d DB/Updates: fix 2016_10_23_00.sql 2016-10-29 23:47:31 +02:00
Blumfield 43ed51cadd CMake: Added support for MySQL Server 5.7 (#187) 2016-10-29 18:17:58 +02:00
ShinDarth 8667c3b607 Import pending SQLs 2016-10-29 11:43:50 +02:00
HeartWell cd9add3ddc Script/Commands: implemented .reload battleground_template (#210)
- Closes #28
2016-10-29 11:43:41 +02:00
ShinDarth 9d11582283 Bin/DB-Assembler: fixed bug in Mac OS X md5 generation
- IMPORTANT NOTE: new dependency for Mac users: brew install md5sha1sum
2016-10-25 22:35:14 +02:00
talamortis 251adf115f boss_mandokir.cpp
Boss will no longer despawn after he has done his lap and should return to the correct position when Speaker is dead (at the bottom of the stairs)
2016-10-25 19:41:23 +01:00
talamortis fb85980ebc Bloodlord Mandokir Say Fix
Fix text from when Boss Casts Threatening Gaze
2016-10-23 22:39:35 +01:00
talamortis b81d49d90d Made to Update statement 2016-10-23 19:46:09 +01:00
talamortis 7109a98126 Fix Quest Evil Draws Near
Fix quest so it can be completed.
2016-10-23 16:42:11 +01:00
ShinDarth 47d1ee4f55 Bin: fix db_pendings import.sh script 2016-10-23 13:13:16 +02:00
Yehonal 908abe4139 imported pending sql 2016-10-23 10:49:21 +02:00
Blumfield 3ca3a2dd5d DB/Loot: Fix drop chance of item Dinosaur Bone (11114)
- closes #185
- thanks @Blumfield @talamortis @thurin93
2016-10-23 10:39:19 +02:00
Yehonal 3f25872719 imported pending sql 2016-10-14 10:27:37 +02:00
talamortis 35c66cd375 DB/SAI: fix Plague Walker (Ahn'Kahet: Old Kingdom) 2016-10-10 21:01:17 +02:00
talamortis 4809bc14e3 Quest/Loot The Great Fras Siabi (#167)
DB/World: fix quest The Great Fras Siabi (5214)
- Closes #116
2016-10-10 20:38:05 +02:00
Ander c15d2b4e19 I close issue 119 (#170)
* close https://github.com/azerothcore/azerothcore-wotlk/issues/119

* I close issue https://github.com/azerothcore/azerothcore-wotlk/issues/119

* Should be fixed now

* Deleted unused
2016-10-08 22:23:24 +02:00
talamortis baa148b2b1 Updated Chat.cpp (#162)
People should not get access violation now when appling commands, full credit goes to @Frytiks.
2016-09-27 20:10:56 +02:00
Yehonal 8eb135e545 Core/DB: sql update importing fix 2016-09-24 19:54:53 +02:00
Yehonal d45a5d69fd Core/DB: Missing 431704c7e2 sql 2016-09-24 19:50:36 +02:00
Yehonal e344e985d9 Core/DB: Created sql updates from pending 2016-09-24 19:49:06 +02:00
Yehonal 4525b77f9e Core/DB: Using correct syntax for pending sql 2016-09-24 19:47:44 +02:00
Yehonal 9f0b63fc45 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-09-24 19:45:30 +02:00
Yehonal a498acfdd8 Merge pull request #112 from DantestyleXD/patch-2
[QUEST] There Exists No Honor Among Birds
2016-09-24 17:49:49 +02:00
Yehonal 9076dde4e0 Merge pull request #141 from Krath/master
Trial of the Champions : Checking if the player is mounted.
2016-09-24 17:49:26 +02:00
Yehonal 7de07357e9 Merge pull request #132 from Helias/warnings
Core/Build: fixed 4 warnings
2016-09-24 17:45:16 +02:00
Yehonal d9e091eae7 Merge pull request #158 from talamortis/patch-5
Quest: Black knight orders
2016-09-24 15:09:49 +02:00
Yehonal ca46417a0c Merge pull request #145 from talamortis/master
Instance/Scripts: PoS and HOR fix
2016-09-24 14:51:07 +02:00
Yehonal aaffa82040 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2016-09-24 14:47:29 +02:00
Yehonal b5d6eab68f Minor fixes to startup-scripts, disabled screen check since it can cause some issues 2016-09-24 14:46:05 +02:00
yehonal e06bdd2132 bin folder creation for startup-scripts on after_build event 2016-09-24 14:46:02 +02:00
Yehonal 0eca04f18b Core/Logging Fixed db logging clean timer 2016-09-24 14:45:57 +02:00
Yehonal c49be4c530 Fixed joiner repo url 2016-09-24 14:45:48 +02:00
Yehonal d177e923ca Fix crash with algalon 2016-09-24 14:45:45 +02:00
Yehonal 8cee0fe498 Core/Script: Missing check on medivh script, fixed crash 2016-09-24 14:45:41 +02:00
Yehonal b618027b3b Core/Script: Fixed possible crash when medivh is spawned outside instance 2016-09-24 14:45:35 +02:00
mik1893 ca510dfd8d Core/Unit: added new script OnPlayerBeingCharmed 2016-09-24 14:45:07 +02:00
Yehonal 6966eba2bb Core/Config Not initial conf files are optional now 2016-09-24 14:36:46 +02:00
Yehonal 3b2fb0949b Core/Logging: Re-Implemented onChat scripting system 2016-09-24 14:36:21 +02:00
talamortis 3356a712c3 Black knight orders
Black nights orders griffen will now take you to the correct point instead of dropping you in the ocean
2016-09-24 12:37:08 +01:00
Stefano Borzì 431704c7e2 Database/World: made the database structure similar to TrinityCore (#154)
* Database/World: date the database structure similar to TrinityCore

* Updated ObjectMgr.cpp

* Moved sql update to pending_db_world directory
2016-09-22 21:21:22 +02:00
talamortis 438077bc0c Changed comment 2016-09-12 16:44:09 +01:00
talamortis e89ff65d59 Changed comment 2016-09-12 16:43:38 +01:00
talamortis 2875b32a94 Removed
Updated.
2016-09-12 16:43:01 +01:00
talamortis 5dcfe074ff Ambassador Kelemar Waypoint
Removed the //
2016-09-11 23:35:12 +01:00
talamortis 99646d171e World/ Winterfin Oracle ID 25216
Winterfin oricle will now cast lightning bolt.
2016-09-06 16:21:52 +01:00
talamortis 36a0f1f338 Instance: Culling of stratholme - Arthus Fix
Arthus will no longer attack start NPC and stop at the correct place in firestreet
2016-09-06 16:20:28 +01:00
talamortis 27030bdfa4 Silvermoon City: Ambassitor Kelmer Walk fix
Ambassitor Kelmar will now walk around silvermoon city
2016-09-06 16:19:09 +01:00
talamortis b35b950bbb Instance: Pit of Saron Tyrannus Mount Fix
Tyrannus will now be mounted as you enter the instance and you will not just see Rimefang
2016-09-06 08:01:14 +01:00
talamortis 9f8d930af7 Core/Scripts Halls of Reflection
ID of the guards changed so alliance can see the correct NPC
2016-09-05 23:58:06 +01:00
talamortis 44c6ef61aa Core/Scripts: Halls of Reflection
Alliance will now see the correct npc to pick up the quest  "Wrath of the lich king"
2016-09-05 23:55:47 +01:00
talamortis beb2ca59a5 Core/Scripts Pit of Saron
Alliance Players will not londer see double ELANDRA as they enter the dungeon
2016-09-05 23:48:39 +01:00
Krath e1884fd3c4 Checking if the player is mounted. 2016-09-05 20:27:02 +02:00
Yehonal c0590a5cfc Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-09-05 17:02:08 +02:00
Yehonal 2e4059c619 Revert "Get Team Id by group Leader instead of random player"
This reverts commit 2ee9fb4eb3.
2016-09-05 16:57:29 +02:00
mik1893 ce07d52235 Fix for missing assignment of m_race 2016-09-05 15:15:27 +02:00
Yehonal c71622438d [DB] fix on characters base tables
Don't worry, you don't need to change anything in your db characters
2016-09-05 12:18:23 +02:00
Yehonal 19273cb9f5 [DB] Fixed Some strange missing data/fix on base db
I've exported the database again starting from
0.x base and applying archived updates again

We strongly suggest to reset your world db with new base
and applying updates again.

To save time, use our db_assembler script
2016-09-05 12:07:11 +02:00
Yehonal 209c058368 Fixed commands log and a crash on windows 2016-09-04 16:05:32 +02:00
Yehonal ce219ce7e4 Created auth logs table for db logging system
Fixed server startup
2016-09-04 14:41:03 +02:00
Yehonal 3db4c1717b Fixed compilation for vs 2013 2016-09-04 14:39:59 +02:00
Yehonal 1f751abf25 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk.git 2016-09-04 10:45:51 +02:00
Yehonal 61a3d89030 Force to use external mysql lib instead of sources
Currently sources are not compiled on some VS
2016-09-04 10:44:38 +02:00
ShinDarth e139de4a8a Build/Clang: suppress logical-op-parentheses warnings 2016-09-04 10:18:38 +02:00
ShinDarth 5802a37698 Revert "Build/Clang: fixed 96 warnings + improved code readability"
This reverts commit a4589f71d5.
2016-09-04 10:11:10 +02:00
DantestyleXD 942f914fd2 [DB/Quest] There Exists No Honor Among Birds rev.5 2016-09-04 06:04:34 +02:00
ShinDarth e5fd1095c9 Core/Build: fixed a warning 2016-09-03 14:23:14 +02:00
Helias 314ad9091b Core/Build: fixed 4 warnings 2016-09-03 13:41:56 +02:00
Yehonal e947363b23 Typing error in folder name 2016-09-02 00:21:17 +02:00
Yehonal cd2417eb2f Using IsGMAccount instead of direct check 2016-09-02 00:21:12 +02:00
Yehonal b86f955f8d cleaning config.sh.dist file 2016-09-02 00:21:08 +02:00
Yehonal 9466e0c21c Improved run engine and moved on separated module
+ Also added some example script to create your own
restart script
2016-09-02 00:21:02 +02:00
Yehonal 3704829d65 Re-implemented Clean logs table 2016-08-31 01:54:20 +02:00
Yehonal de714fdae7 moved GetDatabaseName under public to be used on API 2016-08-31 01:08:53 +02:00
Yehonal 1fb45c44ac Restored db logging function 2016-08-31 01:08:47 +02:00
Yehonal 12d3aeacbd Removed absolute path from some script loaders 2016-08-31 01:08:38 +02:00
mik1893 e113eeec5d Core/Unit: correctly retrieve faction id for race when original is requested 2016-08-31 01:04:07 +02:00
Shin 00d04e94a7 Update README.md 2016-08-30 16:29:55 +02:00
Yehonal 273ffb5d0c [DB] Importing pending sql 2016-08-30 15:42:18 +02:00
Yehonal 88b1881d22 [BASH/DB] Fixed importing script with revisioned sql 2016-08-30 15:41:59 +02:00
Yehonal 925defe406 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk.git 2016-08-30 15:28:01 +02:00
Yehonal c556918797 Merge pull request #118 from DantestyleXD/patch-3
[DB/Quest] Fix for quests 10990 10991 10992 #114
2016-08-30 15:27:06 +02:00
Yehonal e4af303adf Update .travis.yml 2016-08-30 15:22:37 +02:00
ShinDarth 23ba43f8dc Misc: fix copyright from wrong search&replace 2016-08-30 15:16:37 +02:00
ShinDarth 2cf163434c Merge remote-tracking branch 'upstream/master' 2016-08-30 15:13:26 +02:00
ShinDarth 736b92d9a7 Misc: fix copyright from wrong search&replace 2016-08-30 15:13:08 +02:00
Yehonal 2cf4e06e01 [BASH] separated -wipe from -ls for run engine 2016-08-30 13:10:34 +02:00
Ennio Visconti 6c4b7dc3ef Fixed small typo for Travis 2016-08-30 11:32:59 +02:00
Ennio Visconti 38429f3f20 Update to support Travis (now based on azerothcore changes wrt TC) 2016-08-30 11:29:53 +02:00
Polaretto d9640b8e81 Added ACE library to Travis 2016-08-30 10:50:14 +02:00
Polaretto c8051d65ed Travis build fix 2016-08-30 10:44:54 +02:00
Polaretto 22964a20f4 Update .travis.yml 2016-08-30 10:44:19 +02:00
Polaretto b695ab30dc Updated Travis config to latest TC dependencies. 2016-08-30 10:41:17 +02:00
Polaretto 3e4fa841f6 Updated Readme with Travis CI badge. 2016-08-30 10:33:03 +02:00
Yehonal cb375d00ad [BASH] Removed _timed_ files for custom sql
use updates instead.
2016-08-30 02:02:08 +02:00
Yehonal 8376e13e09 fixed wrong sql header 2016-08-30 01:36:10 +02:00
Yehonal 5fd543e1f5 Fixed db_assembler DB path variable expanding
+ code indentation
2016-08-30 01:26:13 +02:00
Yehonal 453338a1dd [BASH] fix run-engine issue with destroyed screen sessions 2016-08-29 13:39:53 +02:00
Yehonal cf87d71765 [Bash] Fixed previous scripts permissions and minor mistake 2016-08-29 12:23:52 +02:00
DantestyleXD 402081def2 [DB/Quest] Not work quest id 10990 10991 10992 #114 rev.3 2016-08-29 09:52:43 +02:00
DantestyleXD a56d46adf6 [DB/Quest] There Exists No Honor Among Birds rev. 4 2016-08-29 09:51:19 +02:00
Yehonal b03b420813 fixed import.sh and implemented new optional workflow for pendings sql
Now devs can create sql for their pull requests that will be
automatically imported and _decorated_ by a protection system
and avoid to multiple import same queries
2016-08-29 09:49:45 +02:00
Yehonal 84fc38fb29 Improved db_assembler with multiple options
- Create ALL
- Create only bases/updates/customs
- Clean registry
2016-08-29 09:46:55 +02:00
talamortis 2407208eb6 Update Pit of Saron (#78) 2016-08-29 09:37:47 +02:00
ShinDarth 0f30731133 Core/World: improved GetGlobalPlayer* methods 2016-08-29 00:15:37 +02:00
ShinDarth 9ac33ca092 Core/ObjectMgr: improved GetPlayerGUIDByName method + misc 2016-08-28 23:09:53 +02:00
ShinDarth e2a00f9ae4 Script/Commands: correction of https://github.com/azerothcore/azerothcore-wotlk/commit/1b1767e9f4c20d1e20541968de98d00814f63247#diff-de077c84577b8885f0df1d20707bbb38L243 2016-08-28 01:19:54 +02:00
DantestyleXD c241fd8f9f typo 2016-08-27 21:59:28 +02:00
DantestyleXD d4aeb75a47 typo 2016-08-27 21:47:30 +02:00
DantestyleXD 9076e4a4e8 [DB/Quest] Not work quest id 10990 10991 10992 #114 rev.2 2016-08-27 14:37:21 +02:00
DantestyleXD 36a6ab4277 [DB/Quest] Not work quest id 10990 10991 10992 #114 2016-08-27 06:03:32 +02:00
DantestyleXD a8dd1b129e [DB/Quest] There Exists No Honor Among Birds rev. 3 2016-08-27 02:53:03 +02:00
ShinDarth 865e3d0c99 Script/Commands: enhanced .lookup player command 2016-08-26 18:59:10 +02:00
ShinDarth 3d5d8a663c Scripts/PetMage: fixed a crash with DK's Gargoyle and Mirror Image 2016-08-26 18:52:51 +02:00
ShinDarth 76b59632c0 Misc: fix copyright header 2016-08-26 16:42:23 +02:00
ShinDarth edd2a0b556 Merge remote-tracking branch 'upstream/master' 2016-08-26 16:32:10 +02:00
ShinDarth 7c081ad303 Misc: cleaning 2016-08-26 16:31:57 +02:00
Yehonal c888cfb158 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-26 16:25:25 +02:00
Yehonal a6db058f90 removed templates for pending, we will find a more cleaner way for devs 2016-08-26 16:25:13 +02:00
Yehonal 0b34a24cf9 db_pending/import now use transaction to avoid db data inconsistency 2016-08-26 16:24:50 +02:00
Yehonal 41f64fb287 Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
Rival f82c3fd94c Core/Pet: Fix initial energy of DK's Ghoul (#115) 2016-08-26 16:21:56 +02:00
ShinDarth 527bbf80d5 Build: fixed some warnings
- Closes #108
2016-08-26 14:24:27 +02:00
Yehonal 1f16a068e9 db_assembler: removed lowercase substitution not compatible with osx 2016-08-26 02:38:15 +02:00
Yehonal d3a4ddaccb Fixed sql header 2016-08-26 02:05:09 +02:00
Yehonal 7cab63179e implemented pending workflow for sql and PR 2016-08-25 19:49:32 +02:00
Yehonal cb19ac25b7 minor fix for db_assembler 2016-08-25 19:48:50 +02:00
Yehonal 5b3c776f9c fixed and updated db_assembler to even support old bash v3 ( osx )
we're emulating associative array
2016-08-25 19:06:51 +02:00
Yehonal b211edb6c0 Better names for sql folders + added custom and pending 2016-08-25 15:33:11 +02:00
ShinDarth cf9322ab4d Core/Commands: enable .gm ingame command + misc cleaning 2016-08-24 17:06:14 +02:00
Yehonal 68079ef595 fixed sql 2016-08-24 15:33:54 +02:00
MadAgos 1df1977c23 [SQL/Creature] fix movement type Fizzle Darkstorm and Burning Blade Fanatic 2016-08-24 15:31:06 +02:00
mik1893 425a80b2a2 Core/Spells: fix greater blessings selection issues (pet class on player class) 2016-08-24 15:29:11 +02:00
mik1893 73b8f5b45f Core/Spells: fix removal of Disarm (scorpid sting) cooldown with Readiness 2016-08-24 15:29:02 +02:00
mik1893 f23858188f Core/Instance: Shared normal/heroic ID is now a configurable feature (default: deactivated) 2016-08-24 15:27:32 +02:00
mik1893 1cb7c81a78 Core/Scripts: add new hook OnPlayerAddToBattleground 2016-08-24 15:16:25 +02:00
mik1893 f4382e25c0 Core/Unit: enable setting and retrieval of a temporary race for players 2016-08-24 15:16:06 +02:00
Yehonal fb2ac1a6a7 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-24 15:12:08 +02:00
Yehonal f424335767 removed -Wpointer-bool-conversion parameter from clang
Not compatible with clang-3.4 on ubuntu 14.04
2016-08-24 15:07:40 +02:00
Shin e2bbd783e8 Update README.md 2016-08-24 14:44:02 +02:00
Yehonal f5e5576a16 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-24 14:28:46 +02:00
mik1893 62c73fd6ef Will of Forsaken + Trinket PVP correct faction check 2016-08-24 14:27:39 +02:00
mik1893 b689b7f1e1 Core/Player: Implement original race variable at unit level and initialize it (for future customizations) 2016-08-24 14:27:10 +02:00
Shin b6c3bb5688 Update README.md 2016-08-24 14:05:09 +02:00
Shin 190533957a Update README.md 2016-08-24 14:03:32 +02:00
Yehonal c4f49d6ab3 fix for sql headers 2016-08-24 12:55:35 +02:00
Yehonal 3b7c4a0196 renamed wrong sql 2016-08-24 12:55:32 +02:00
Yehonal a43af57806 Avoid reset loop on boss nalorakk 2016-08-24 11:33:23 +02:00
mik1893 6f933d1385 Core/Pet: correct pet loading - summoning 2016-08-24 10:52:11 +02:00
ShinDarth d538b86a47 Core/Chat: properly prevent crashes + cleaning (import from TrinityCore)
- Closes #111
2016-08-24 01:14:28 +02:00
DantestyleXD 3eda856b65 [DB/Quest] There Exists No Honor Among Birds rev.2 2016-08-23 23:37:03 +02:00
DantestyleXD 810fc947c4 [DB/Quest] There Exists No Honor Among Birds rev.1 2016-08-23 23:34:45 +02:00
DantestyleXD ad06d26b28 [DB/Quest] There Exists No Honor Among Birds 2016-08-23 23:31:24 +02:00
Yehonal 17061cbbb4 improved run engine 2016-08-23 19:09:01 +02:00
Yehonal 20623d9b5d Fix sql header 2016-08-23 14:41:23 +02:00
Yehonal a04f5a0798 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-23 14:23:53 +02:00
Yehonal 5fa9ed6f28 Compilation fix 2016-08-23 14:23:45 +02:00
Yehonal 85b8aa7ce8 Project restructuring [PART.3] 2016-08-23 13:30:41 +02:00
Yehonal 0355064321 Project restructuring [PART.2] 2016-08-23 12:11:46 +02:00
ShinDarth 7117af1d70 Merge remote-tracking branch 'upstream/master' 2016-08-23 10:04:16 +02:00
ShinDarth edd5f4a192 Core/Chat: fixed crash in commands
closes #110
2016-08-23 10:02:41 +02:00
DantestyleXD bf1a1b5cec Core/DB - Keeping the Enemy at Bay
Closes #93
2016-08-22 22:00:00 +02:00
Yehonal 54bd100573 Project restructuring conforming to the new software layers [PART.1] 2016-08-22 12:47:57 +02:00
Yehonal 24062354c1 Update issue_template.md 2016-08-22 10:54:19 +02:00
Yehonal edc3df8e05 Update issue_template.md 2016-08-22 10:54:07 +02:00
ShinDarth b6d2c9b226 Core/Chat: fixed some commands
This fixes all those commands that can take in input both a param and a subcommand, e.g.: .learn, .tele, etc...
2016-08-22 01:40:58 +02:00
ShinDarth d641365b3b Script/Commands: fix all command permissions 2016-08-21 20:50:02 +02:00
Yehonal 1e5af6d3be Core/Chat: fixed commands 2016-08-21 13:51:20 +02:00
Yehonal d66d24d597 Fix commands and starting to use nullptr instead of NULL 2016-08-21 13:24:30 +02:00
ShinDarth 744e05d872 Revert "fixed crash on command execution"
This reverts commit d6133057ca.
2016-08-21 12:58:14 +02:00
Yehonal 0ba91d7c3e Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-20 14:28:41 +02:00
Yehonal 15fe825617 Missing folders 2016-08-20 14:25:07 +02:00
ShinDarth cbaafa9be5 Core/Console: rename console 2016-08-20 12:14:14 +02:00
Yehonal 1c9eb7e52f change default bash compiler to clang 2016-08-20 09:49:55 +02:00
Yehonal 1b1767e9f4 Fix commands and starting to use nullptr instead of NULL 2016-08-20 09:49:37 +02:00
ShinDarth d7fdf7c940 Build/Clang: restore build on Mac OS X 2016-08-20 03:34:14 +02:00
Yehonal ad77560bcb Fixed some warnings 2016-08-20 03:04:04 +02:00
Yehonal d6133057ca fixed crash on command execution
seems that clang is now compilable and playable on linux too \o/
2016-08-20 02:04:18 +02:00
Yehonal 937b5dab09 fixed compilation of latest commands rewrite work 2016-08-20 02:03:03 +02:00
Yehonal b142328539 removing ACE int types, replaced with c++11 2016-08-20 02:02:22 +02:00
Yehonal ee0ead5e4f Merge branch 'threading_rewrite' of https://github.com/ShinDarth/azerothcore-wotlk into threading_rewrite 2016-08-19 23:54:55 +02:00
Yehonal 8ee36c5f64 Merge branch 'master' into threading_rewrite 2016-08-19 23:43:02 +02:00
Yehonal 155a232459 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-19 23:33:12 +02:00
Yehonal 6eaa77591d Fixed compilation without PCH enabled
please avoid to miss header files in your sources
2016-08-19 23:33:02 +02:00
Yehonal 469502581d Fixed compilation without PCH enabled
please avoid to miss header files in your sources
2016-08-19 23:32:46 +02:00
ShinDarth 0aba3ae267 Corrected more copyrights 2016-08-19 23:24:44 +02:00
ShinDarth cb30a6b404 Update chat system, based on TrinityCore commit 2016-08-19 20:26:58 +02:00
ShinDarth 55c47f8a35 Merge remote-tracking branch 'upstream/master' into threading_rewrite 2016-08-19 12:15:22 +02:00
ShinDarth cdda5249bd CMake/Clang: fix build type variable 2016-08-19 12:14:50 +02:00
Yehonal 54ad9aa30d Merge branch 'master' into threading_rewrite 2016-08-19 11:08:52 +02:00
Yehonal ea286f7332 Rewritten Threading system using c++11 std instead of ACE
It also allow full compilation with clang under all supported platforms

Need tests
2016-08-19 10:58:37 +02:00
Yehonal d8de9c9296 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-19 10:11:28 +02:00
Yehonal c36b4f384f removed CC compiler from conf 2016-08-19 09:30:55 +02:00
Yehonal ab17309f83 fixed uwd/joiner installation 2016-08-19 09:30:28 +02:00
Yehonal aa6cb73d21 upgraded gsoap to 2.8.33
it fix some errors on unix clang
2016-08-19 09:30:09 +02:00
Yehonal e1c87e7510 Some minor changes 2016-08-19 09:29:26 +02:00
Shin 3761e9d843 Update README.md 2016-08-17 20:43:53 +02:00
ShinDarth da7a7ab295 Fix License issue, closes #21 2016-08-17 17:58:45 +02:00
ShinDarth a5426f28fe Added LICENSE file 2016-08-17 11:07:18 +02:00
Yehonal 422f60460e Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-17 10:15:37 +02:00
Yehonal d28a81198d Enabled c99 support for C files 2016-08-17 10:15:20 +02:00
ShinDarth 5fe8821567 Build/Clang: fixed 2 warnings 2016-08-17 10:15:09 +02:00
ShinDarth 0c554291b5 Build/Clang: suppress useless warnings 2016-08-17 10:14:42 +02:00
ShinDarth cd250f3fec Some corrections to previous commits 2016-08-17 10:14:13 +02:00
Yehonal a6d4db8910 Crosscompiling solution for isfinite & isnan 2016-08-17 10:00:46 +02:00
Yehonal 97cbf9adf6 Fix compilation of cs_debug script with clang 2016-08-17 09:43:45 +02:00
Yehonal 0d31040fbd [CMAKE] More compatible definitions 2016-08-17 09:43:34 +02:00
Yehonal 159c9187f0 [BASH] Now scripts will use default language 2016-08-17 09:43:23 +02:00
Yehonal 62e730f2fd fixed bash hook functions 2016-08-17 09:42:41 +02:00
ShinDarth 50f51c8d94 CMake/Clang: suppress several warnings 2016-08-17 01:02:37 +02:00
ShinDarth 518117e942 CMake: fix Clang detection 2016-08-17 01:00:56 +02:00
ShinDarth 9cd4cf08c6 Scripts/Northrend: corrected code logic, fixing a bunch of warnings 2016-08-17 00:15:26 +02:00
ShinDarth 24ae2150aa Build/Clang: removed deprecated finite() fixing 59 warnings 2016-08-16 23:45:53 +02:00
ShinDarth a4589f71d5 Build/Clang: fixed 96 warnings + improved code readability 2016-08-16 23:21:38 +02:00
ShinDarth 9802678689 Core/Arena: fix arena points rate config + code indentation 2016-08-16 18:50:59 +02:00
Rival eb992ee108 Core/Arena: Create more arena configs (#97) 2016-08-16 18:31:46 +02:00
4495 changed files with 1335771 additions and 56544 deletions
+10
View File
@@ -0,0 +1,10 @@
build*/
var/*
data/contrib/*
data/doc/*
modules/*
conf/*
!conf/*.dist
docker/worldserver/data/*
.idea
cmake-build-debug/*
+8
View File
@@ -0,0 +1,8 @@
[*]
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80
+12
View File
@@ -0,0 +1,12 @@
WORLDSERVER_DATA=./docker/worldserver/data
WORLDSERVER_ETC=./docker/worldserver/etc
WORLDSERVER_LOGS=./docker/worldserver/logs
AUTHSERVER_ETC=./docker/authserver/etc
AUTHSERVER_LOGS=./docker/authserver/logs
WORLD_EXTERNAL_PORT=8085
AUTH_EXTERNAL_PORT=3724
DB_EXTERNAL_PORT=3306
DB_ROOT_PASSWORD=password
+5 -1
View File
@@ -1,6 +1,10 @@
# Auto detect text files and perform LF normalization
* text=auto
# End of line rules
*.sh eol=lf
*.sh.dist eol=lf
bin/* eol=lf
# Whitespace rules
# strict (no trailing, no tabs)
@@ -28,4 +32,4 @@
*.RTF diff=astextplain
# Ignore sql/* files
sql/* linguist-documentation
data/sql/* linguist-documentation
+31 -14
View File
@@ -4,21 +4,23 @@
conf/*
!conf/*.dist
apps/drassil/*
env/dist/*
env/user/*
modules/*
#
# Allow modules to control git ignoring
#
!modules/*
modules/*/*
!modules/*/.gitignore
!modules/uwd/*
!modules/uwd/cmake-utils/*
modules/uwd/joiner
!modules/hw-core/*
!modules/acore/*
!modules/*.md
!modules/*.sh
build*/
var/*
docker/authserver/etc/authserver.conf
docker/worldserver/etc/worldserver.conf
docker/authserver/logs/
docker/worldserver/logs/
docker/worldserver/data/
!docker/build
.env
!.gitkeep
#
#Generic
@@ -42,7 +44,7 @@ CMakeLists.txt.user
*.LOCAL.*
#
# IDE & other softwares
# IDE & other software
#
/.settings/
/.externalToolBuilders/*
@@ -52,6 +54,8 @@ nbproject/
*.kate-swp
.browse.VC*
.vscode
.idea
cmake-build-debug/*
#
# Eclipse
@@ -69,3 +73,16 @@ local.properties
.project
.cproject
# ==================
#
# CUSTOM
#
# put below your custom ignore rules
# for example , if you want to include a
# module directly in repositoryyou can do:
#
# !modules/yourmodule
#
# ==================
+76 -34
View File
@@ -1,44 +1,86 @@
# Copyright (C)
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sudo: required
dist: xenial # (16.04)
# bionic (18.04) is not yet available in travis
language: cpp
cache: ccache
addons:
apt:
update: true
services:
- mysql
git:
depth: 1
branches:
only:
- master
matrix:
include:
- os: linux
addons:
apt:
packages:
- clang-3.8
env:
- CCOMPILERC="clang-3.8"
- CCOMPILERCXX="clang++-3.8"
compiler:
- clang
- gcc ## Uncomment when we are up to full c++11 standards.
- os: linux
addons:
apt:
sources:
- llvm-toolchain-xenial-7
packages:
- clang-7
env:
- CCOMPILERC="clang-7"
- CCOMPILERCXX="clang++-7"
before_install:
- sudo add-apt-repository ppa:kalakris/cmake -y
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo add-apt-repository 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main'
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo apt-get update -qq
- sudo apt-get install clang-3.7
- sudo apt-get install libace-dev
- sudo apt-get install libncurses5-dev
- sudo apt-get install build-essential autoconf libtool make cmake git-core patch wget links zip unzip unrar
- sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- git config user.email "azerothcorebot@gmail.com" && git config user.name "AzerothCoreBot"
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cd bin/; fi
# import pending sql
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then bash acore-db-pendings; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cd ..; fi
# push changes to git if any
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git fetch --unshallow; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then git checkout $TRAVIS_BRANCH; fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ -n "$GITHUB_API_KEY" ]]; then git add -A . && git diff --cached --quiet || git commit -am "Import pending SQL update file" && git push https://$GITHUB_API_KEY@github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_BRANCH; fi
# sync staging with master
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ] && [[ -n "$GITHUB_API_KEY" ]]; then git fetch origin staging:staging && git checkout staging && git merge --no-edit master && git push https://$GITHUB_API_KEY@github.com/$TRAVIS_REPO_SLUG.git staging; git checkout master; fi
install:
# install OS deps (apt-get)
- bash ./acore.sh "install-deps"
# create config file
- echo "CCOMPILERC=$CCOMPILERC" >> conf/config.sh
- echo "CCOMPILERCXX=$CCOMPILERCXX" >> conf/config.sh
- echo "MTHREADS=4" >> conf/config.sh
- echo "CWARNINGS=ON" >> conf/config.sh
- echo "CDEBUG=OFF" >> conf/config.sh
- echo "CTYPE=Release" >> conf/config.sh
- echo "CSCRIPTS=ON" >> conf/config.sh
- echo "CSERVERS=ON" >> conf/config.sh
- echo "CTOOLS=ON" >> conf/config.sh
- echo "CSCRIPTPCH=OFF" >> conf/config.sh
- echo "CCOREPCH=OFF" >> conf/config.sh
- echo "CCUSTOMOPTIONS='-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS=\"-Werror\" -DCMAKE_CXX_FLAGS=\"-Werror\"'" >> conf/config.sh
- echo "DB_CHARACTERS_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
- echo "DB_AUTH_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
- echo "DB_WORLD_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
# create and import mysql
- mysql -e "SET GLOBAL sql_mode = '';" # this is necessary because of mysql 5.7
- bash ./acore.sh "db-assembler" "import-all"
script:
- mkdir build
- cd build
- cmake ../ -DSCRIPTS=1 -DTOOLS=1
- make -j8
# compile
- export CCACHE_CPP2=true
- ccache -s
- timeout 2580 bash ./acore.sh "compiler" "all"
- ccache -s
- git clone --depth=1 --branch=master --single-branch https://github.com/ac-data/ac-data.git /home/travis/build/azerothcore/azerothcore-wotlk/env/dist/data
- cp ./data/travis/worldserver.conf ./env/dist/etc/worldserver.conf
- ./env/dist/bin/worldserver --dry-run
- ./apps/ci-error-check.sh
+51 -12
View File
@@ -25,14 +25,16 @@ set(CMAKE_BUILD_WITH_INSTALL_RPATH 0)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH 1)
set(AC_PATH_ROOT "${CMAKE_SOURCE_DIR}")
# set macro-directory
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/modules/acore/cmake/macros")
set(CMAKE_MODULE_PATH "${AC_PATH_ROOT}/src/cmake/macros")
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
# some utils for cmake
include(modules/uwd/cmake-utils/utils.cmake)
include(deps/drassil/cmake-utils/utils.cmake)
include(src/cmake/ac_macros.cmake)
@@ -40,10 +42,31 @@ include(src/cmake/ac_macros.cmake)
include(conf/config.cmake.dist)
# load custom configurations for cmake if exists
if(EXISTS "conf/config.cmake")
if(EXISTS "${CMAKE_SOURCE_DIR}/conf/config.cmake")
include(conf/config.cmake)
endif()
#
# Loading dyn modules
#
# add modules and dependencies
CU_SUBDIRLIST(sub_DIRS "${CMAKE_SOURCE_DIR}/modules" FALSE FALSE)
FOREACH(subdir ${sub_DIRS})
get_filename_component(MODULENAME ${subdir} NAME)
if (";${DISABLED_AC_MODULES};" MATCHES ";${MODULENAME};")
continue()
endif()
STRING(REGEX REPLACE "^${CMAKE_SOURCE_DIR}/" "" subdir_rel ${subdir})
if(EXISTS "${subdir}/CMakeLists.txt")
message("Loading module: ${subdir_rel}")
add_subdirectory("${subdir_rel}")
endif()
ENDFOREACH()
CU_RUN_HOOK("AFTER_LOAD_CONF")
# build in Release-mode by default if not explicitly set
@@ -58,6 +81,7 @@ if( NOPCH )
endif()
include(CheckPlatform)
include(GroupSources)
# basic packagesearching and setup (further support will be needed, this is a preliminary release!)
set(OPENSSL_EXPECTED_VERSION 1.0.0)
@@ -73,6 +97,11 @@ if( UNIX )
find_package(Readline)
find_package(ZLIB)
find_package(BZip2)
if ( WITH_PERFTOOLS )
find_package(Gperftools)
endif()
endif()
if(NOT WITHOUT_GIT)
@@ -85,15 +114,25 @@ include(src/cmake/genrev.cmake)
# print out the results before continuing
include(src/cmake/showoptions.cmake)
# add modules and dependencies
CU_SUBDIRLIST(sub_DIRS "${CMAKE_SOURCE_DIR}/modules" FALSE FALSE)
FOREACH(subdir ${sub_DIRS})
STRING(REGEX REPLACE "^${CMAKE_SOURCE_DIR}/" "" subdir_rel ${subdir})
if(EXISTS "${subdir}/CMakeLists.txt")
message("Loading module: ${subdir_rel}")
add_subdirectory("${subdir_rel}")
endif()
ENDFOREACH()
#
# Loading framework
#
add_subdirectory(deps)
if( SERVERS OR TOOLS)
add_subdirectory(src/common)
endif()
if( TOOLS )
add_subdirectory(src/tools)
endif()
#
# Loading application sources
#
CU_RUN_HOOK("BEFORE_SRC_LOAD")
+661
View File
@@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
+339
View File
@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
+31 -5
View File
@@ -1,6 +1,9 @@
# AzerothCore
# ![logo](https://raw.githubusercontent.com/azerothcore/azerothcore.github.io/master/images/logo-github.png) AzerothCore
[![Master Build Status](https://travis-ci.org/azerothcore/azerothcore-wotlk.svg)](https://travis-ci.org/azerothcore/azerothcore-wotlk)
[![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=40032087)](https://www.bountysource.com/teams/azerothcore/bounties)
[![StackOverflow](http://img.shields.io/badge/stackoverflow-azerothcore-blue.svg)]( http://stackoverflow.com/questions/tagged/azerothcore )
[![Gitter](https://badges.gitter.im/azerothcore/azerothcore.svg)](https://gitter.im/azerothcore/azerothcore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## Introduction
@@ -8,6 +11,8 @@ AzerothCore is an open source game-server application for World of Warcraft, cur
It is written in C++ and based on MaNGOS, TrinityCore and SunwellCore.
:moneybag: You can support the project by financing the resolution of issues [using Bountysource](https://github.com/azerothcore/azerothcore-wotlk/wiki/Bountysource).
## Why AzerothCore?
Our main goal is to create a playable game server, offering a fully working game experience. In short, we focus on the **user experience (UX)**.
@@ -17,20 +22,41 @@ We also believe in [software modularity](https://en.wikipedia.org/wiki/Modular_p
## Learning project
AzerothCore is a learning project.
If you want to learn how to use C++, SQL, git, etc... you came to the right place! We will gladly to help you: **programming is our passion**.
If you want to learn how to use C++, SQL, git, etc... you came to the right place! We will gladly help you: **programming is our passion**.
If you want to contribute, in [our wiki](https://github.com/azerothcore/azerothcore-wotlk/wiki) you fill find a lot of resources that will guide you. Also you can poke us in [our gitter chat channel](https://gitter.im/azerothcore/azerothcore).
If you want to contribute, in [our wiki](https://github.com/azerothcore/azerothcore-wotlk/wiki) you fill find a lot of resources that will guide you. Also you can poke us in [our discord chat server](https://discord.gg/gkt4y2x).
## Instructions & Support
Installation instructions are available [here](https://github.com/AzerothCore/azerothcore-wotlk/wiki/Installation).
For help requests, it is recommended to ask your question on [StackOverflow](https://stackoverflow.com/questions/tagged/azerothcore) and link it in [our chat](https://discordapp.com/channels/217589275766685707/284406375495368704).
## Docker
Dockerization of AzerothCore is fully supported. More details about Docker and the setup instructions are available [here](https://github.com/azerothcore/azerothcore-wotlk/wiki/Install-with-Docker).
## Authors & Contributors
This project is brought to you thanks to:
- The [AzerothCore developers and contributors](https://github.com/AzerothCore/azerothcore-wotlk/graphs/contributors)
- The SunwellCore developers **xinef** and **pussywizard**
- The [SunwellCore developers xinef and pussywizard](http://www.azerothcore.org/pages/sunwell.pl/)
- All the [TrinityCore developers and contributors](https://github.com/TrinityCore/TrinityCore/blob/3.3.5/THANKS)
- All the [MaNGOS, ScriptDev2 and UDB developers and contributors](https://github.com/cmangos/mangos-wotlk/blob/master/AUTHORS.md)
## License
- The new AzerothCore source components are released under the [GNU AGPL v3](https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3)
- The old sources based on MaNGOS/TrinityCore are released under the [GNU GPL v2](https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2)
## Links
- [Website](https://azerothcore.github.io/)
## Sponsors
List of organizations that help the AzerothCore project:
[![JetBrains](https://user-images.githubusercontent.com/75517/51205146-7f225c80-1905-11e9-82e0-835627be170d.png)](https://www.jetbrains.com/?from=AzerothCore)
+5
View File
@@ -0,0 +1,5 @@
{
"name" : "azerothcore-wotlk",
"version" : "2.0.0",
"license" : "AGPL3"
}
Executable
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -e
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/apps/installer/main.sh"
@@ -1,18 +1,12 @@
AC_PATH_BIN="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
AC_PATH_SHARED="$AC_PATH_BIN/bash_shared"
source "$AC_PATH_SHARED/defines.sh"
source "$AC_PATH_MODULES/hw-core/bash-lib-event/src/hooks.sh"
alias registerHooks="hwc_event_register_hooks"
alias runHooks="hwc_event_run_hooks"
function registerHooks() { hwc_event_register_hooks "$@"; }
function runHooks() { hwc_event_run_hooks "$@"; }
source "$AC_PATH_CONF/config.sh.dist" # "hack" to avoid missing conf variables
if [ -f "$AC_PATH_CONF/config.sh" ]; then
source "$AC_PATH_CONF/config.sh" # should overwrite previous
else
echo "NOTICE: file <$AC_PATH_CONF/config.sh> has not been found, you should create and configure it."
fi
#
@@ -25,3 +19,5 @@ do
source $entry
fi
done
ACORE_VERSION=$("$AC_PATH_DEPS/jsonpath/JSONPath.sh" -f $AC_PATH_ROOT/acore.json -b '$.version')
@@ -1,11 +1,13 @@
unamestr=`uname`
if [[ "$unamestr" == 'Darwin' ]]; then
AC_PATH_ROOT=$(greadlink -f "$AC_PATH_BIN/../")
AC_PATH_ROOT=$(greadlink -f "$AC_PATH_APPS/../")
else
AC_PATH_ROOT=$(readlink -f "$AC_PATH_BIN/../")
AC_PATH_ROOT=$(readlink -f "$AC_PATH_APPS/../")
fi
AC_PATH_CONF="$AC_PATH_ROOT/conf"
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
AC_PATH_DEPS="$AC_PATH_ROOT/deps"
+17
View File
@@ -0,0 +1,17 @@
[[ ${GUARDYVAR:-} -eq 1 ]] && return || readonly GUARDYVAR=1 # include it once
# force default language for applications
LC_ALL=C
AC_PATH_APPS="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
AC_PATH_SHARED="$AC_PATH_APPS/bash_shared"
source "$AC_PATH_SHARED/defines.sh"
source "$AC_PATH_DEPS/hw-core/bash-lib-event/src/hooks.sh"
source "$AC_PATH_SHARED/common.sh"
[[ "$OSTYPE" = "msys" ]] && AC_BINPATH_FULL="$BINPATH" || AC_BINPATH_FULL="$BINPATH/bin"
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
DB_ERRORS_FILE="/home/travis/build/azerothcore/azerothcore-wotlk/env/dist/bin/DBErrors.log";
#DB_ERRORS_FILE="./env/dist/bin/DBErrors.log";
if [[ ! -f ${DB_ERRORS_FILE} ]]; then
echo "File ${DB_ERRORS_FILE} not found!";
exit 1
fi
if [[ -s ${DB_ERRORS_FILE} ]]; then
printf "The DBErrors.log file contains startup errors:\n\n";
cat ${DB_ERRORS_FILE};
printf "\nPlease solve the startup errors listed above!\n";
exit 1;
else
echo "No startup errors found in DBErrors.log, good job!";
fi
@@ -19,6 +19,14 @@ first of all, if you need some custom configuration you have to copy and rename
./3-build.sh
## compiler.sh
compiler.sh script contains an interactive menu to clean/compile/build. You can also run actions directly by command lines specifying the option.
Ex:
./compiler.sh 3
It will start the build process (it's equivalent to ./3-build.sh)
## Note:
For an optimal development process and **really faster** compilation time, is suggested to use clang instead of gcc
+72
View File
@@ -0,0 +1,72 @@
#!/usr/bin/env bash
set -e
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/includes/includes.sh"
function run_option() {
re='^[0-9]+$'
if [[ $1 =~ $re ]] && test "${comp_functions[$1-1]+'test'}"; then
${comp_functions[$1-1]}
elif [ -n "$(type -t comp_$1)" ] && [ "$(type -t comp_$1)" = function ]; then
fun="comp_$1"
$fun
else
echo "invalid option, use --help option for the commands list"
fi
}
function comp_quit() {
exit 0
}
comp_options=(
"build: Configure and compile"
"clean: Clean build files"
"configure: Run CMake"
"compile: Compile only"
"all: clean, configure and compile"
"quit: Close this menu")
comp_functions=(
"comp_build"
"comp_clean"
"comp_configure"
"comp_compile"
"comp_all"
"comp_quit")
PS3='[ Please enter your choice ]: '
runHooks "ON_AFTER_OPTIONS" #you can create your custom options
function _switch() {
_reply="$1"
_opt="$2"
case $_reply in
""|"--help")
echo "Available commands:"
printf '%s\n' "${options[@]}"
;;
*)
run_option $_reply $_opt
;;
esac
}
while true
do
# run option directly if specified in argument
[ ! -z $1 ] && _switch $@
[ ! -z $1 ] && exit 0
select opt in "${comp_options[@]}"
do
echo "==== ACORE COMPILER ===="
_switch $REPLY
break;
done
done
+7
View File
@@ -0,0 +1,7 @@
# you can choose build type from cmd argument
if [ ! -z $1 ]
then
CCTYPE=$1
CCTYPE=${CCTYPE^} # capitalize first letter if it's not yet
fi
@@ -1,19 +1,19 @@
function clean() {
function comp_clean() {
echo "Cleaning build files"
CWD=$(pwd)
cd $BUILDPATH
make -f Makefile clean
make clean
make -f Makefile clean || true
make clean || true
find -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
cd $CWD
}
function configure() {
function comp_configure() {
CWD=$(pwd)
cd $BUILDPATH
@@ -28,10 +28,15 @@ function configure() {
#-DSCRIPTS_NORTHREND=$CSCRIPTS -DSCRIPTS_OUTDOORPVP=$CSCRIPTS -DSCRIPTS_OUTLAND=$CSCRIPTS -DSCRIPTS_PET=$CSCRIPTS -DSCRIPTS_SPELLS=$CSCRIPTS -DSCRIPTS_WORLD=$CSCRIPTS \
#-DAC_WITH_UNIT_TEST=$CAC_UNIT_TEST -DAC_WITH_PLUGINS=$CAC_PLG \
cmake $SRCPATH -DCMAKE_INSTALL_PREFIX=$BINPATH -DCONF_DIR=$CONFDIR -DSERVERS=$CSERVERS \
local DCONF=""
if [ ! -z "$CONFDIR" ]; then
DCONF="-DCONF_DIR=$CONFDIR"
fi
cmake $SRCPATH -DCMAKE_INSTALL_PREFIX=$BINPATH $DCONF -DSERVERS=$CSERVERS \
-DSCRIPTS=$CSCRIPTS \
-DTOOLS=$CTOOLS -DUSE_SCRIPTPCH=$CSCRIPTPCH -DUSE_COREPCH=$CCOREPCH -DWITH_COREDEBUG=$CDEBUG -DCMAKE_BUILD_TYPE=$CTYPE -DWITH_WARNINGS=$CWARNINGS \
-DCMAKE_C_COMPILER=$CCOMPILERC -DCMAKE_CXX_COMPILER=$CCOMPILERCXX $CCUSTOMOPTIONS
-DCMAKE_C_COMPILER=$CCOMPILERC -DCMAKE_CXX_COMPILER=$CCOMPILERCXX "-DDISABLED_AC_MODULES=$CDISABLED_AC_MODULES" $CCUSTOMOPTIONS
cd $CWD
@@ -39,7 +44,7 @@ function configure() {
}
function build() {
function comp_compile() {
[ $MTHREADS == 0 ] && MTHREADS=`grep -c ^processor /proc/cpuinfo` && MTHREADS=$(($MTHREADS + 2))
echo "Using $MTHREADS threads"
@@ -55,3 +60,13 @@ function build() {
runHooks "ON_AFTER_BUILD"
}
function comp_build() {
comp_configure
comp_compile
}
function comp_all() {
comp_clean
comp_build
}
@@ -2,7 +2,7 @@ CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../../bash_shared/includes.sh"
AC_PATH_COMPILER="$AC_PATH_BIN/compiler"
AC_PATH_COMPILER="$AC_PATH_APPS/compiler"
if [ -f "$AC_PATH_COMPILER/config.sh" ]; then
source "$AC_PATH_COMPILER/config.sh" # should overwrite previous
@@ -10,7 +10,7 @@ fi
function ac_on_after_build() {
# move the run engine
cp -rvf "$AC_PATH_BIN/runners/"* "$INSTALL_PATH/bin/"
cp -rvf "$AC_PATH_APPS/startup-scripts/"* "$BINPATH"
}
registerHooks "ON_AFTER_BUILD" ac_on_after_build
@@ -1,2 +1,3 @@
/output/
/backup/
config.sh
+22
View File
@@ -0,0 +1,22 @@
## Description
This script allows you to assemble all sql files into one so you can easily import it to your databases (or use the main script to import directly). By default, it creates the merged files in `/env/dist`.
## How to use:
First of all, if you need some custom configuration, you have to copy and rename `/conf/config.sh.dist` to `/conf/config.sh` and configure it. The file is here: https://github.com/azerothcore/azerothcore-wotlk/tree/master/conf
_Read it because there are several options to configure._
`db_assembler.sh` script contains an interactive menu to assemble and import sql files.
Just run it to display the options.
Note: You can even use actions directly by command lines specifying the option.
Ex:
./db_assembler.sh 1
It will merge all sql files without an interactive menu.
+77
View File
@@ -0,0 +1,77 @@
#!/usr/bin/env bash
set -e
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/includes/includes.sh"
cmdopt=$1
PS3='[Please enter your choice]: '
options=(
"all: Assemble all" # 1
"bases: Assemble only bases" # 2
"updates: Assemble only updates" # 3
"customs: Assemble only customs" # 4
"import-all: Assemble & Import all" # 5
"import-bases: Assemble & Import only bases" # 6
"import-updates: Assemble & Import only updates" # 7
"import-customs: Assemble & Import only customs" # 8
"quit: Exit from this menu" # 9
)
function _switch() {
_reply="$1"
_opt="$2"
case $_reply in
""|"all"|"1")
dbasm_run true true true
;;
""|"bases"|"2")
dbasm_run true false false
;;
""|"updates"|"3")
dbasm_run false true false
;;
""|"customs"|"4")
dbasm_run false false true
;;
""|"import-all"|"5")
dbasm_import true true true
;;
""|"import-bases"|"6")
dbasm_import true false false
;;
""|"import-updates"|"7")
dbasm_import false true false
;;
""|"import-customs"|"8")
dbasm_import false false true
;;
""|"quit"|"9")
echo "Goodbye!"
exit
;;
""|"--help")
echo "Available commands:"
printf '%s\n' "${options[@]}"
;;
*) echo "invalid option, use --help option for the commands list";;
esac
}
while true
do
# run option directly if specified in argument
[ ! -z $1 ] && _switch $@
[ ! -z $1 ] && exit 0
select opt in "${options[@]}"
do
echo "===== DB ASSEMBLER MENU ====="
_switch $REPLY
break
done
done
+377
View File
@@ -0,0 +1,377 @@
# globals
PROMPT_USER=""
PROMPT_PASS=""
# use in a subshell
function dbasm_resetExitCode() {
exit 0
}
function dbasm_mysqlExec() {
confs=$1
command=$2
options=$3
eval $confs
if [[ ! -z "${PROMPT_USER// }" ]]; then
MYSQL_USER=$PROMPT_USER
MYSQL_PASS=$PROMPT_PASS
fi
export MYSQL_PWD=$MYSQL_PASS
retval=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" $options -e "$command")
if [[ $? -ne 0 ]]; then
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" $options -e "$command" 2>&1 )
if [[ "$err" == *"Access denied"* ]]; then
read -p "Insert mysql user:" PROMPT_USER
read -p "Insert mysql pass:" -s PROMPT_PASS
export MYSQL_PWD=$PROMPT_PASS
retval=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "$command")
if [[ $? -ne 0 ]]; then
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "$command" 2>&1 )
# it happens on new mysql 5.7 installations
# since mysql_native_password is explicit now
if [[ "$err" == *"Access denied"* ]]; then
echo "Setting mysql_native_password and for $PROMPT_USER ..."
sudo -h "$MYSQL_HOST" "$DB_MYSQL_EXEC" -e "UPDATE mysql.user SET authentication_string=PASSWORD('${PROMPT_PASS}'), plugin='mysql_native_password' WHERE User='${PROMPT_USER}'; FLUSH PRIVILEGES;"
fi
fi
# create configured account if not exists
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "CREATE USER '${MYSQL_USER}'@'${MYSQL_HOST}' IDENTIFIED BY '${MYSQL_PASS}' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;"
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "GRANT CREATE ON *.* TO '${MYSQL_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
for db in ${DATABASES[@]}
do
local _uc=${db^^}
local _name="DB_"$_uc"_CONF"
local _confs=${!_name}
local _name="DB_"$_uc"_NAME"
local _dbname=${!_name}
eval $_confs
echo "Grant permissions for ${MYSQL_USER}'@'${MYSQL_HOST} to ${_dbname}"
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "GRANT ALL PRIVILEGES ON ${_dbname}.* TO '${MYSQL_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
done
else
exit
fi
fi
}
function dbasm_isNotEmpty() {
dbname=$1
conf=$2
dbasm_mysqlExec "$conf" "SELECT COUNT(DISTINCT table_name) FROM information_schema.columns WHERE table_schema = '${dbname}'" "--skip-column-names"
if (( $retval > 0 )); then
true
else
false
fi
}
function dbasm_dbExists() {
dbname=$1
conf=$2
dbasm_mysqlExec "$conf" "SHOW DATABASES LIKE '${dbname}'" "--skip-column-names"
if [ "$retval" == "${dbname}" ]; then
true
else
false
fi
}
function dbasm_createDB() {
database=${1,,}
uc=${database^^}
name="DB_"$uc"_CONF"
confs=${!name}
name="DB_"$uc"_NAME"
dbname=${!name}
eval $confs
CONF_USER=$MYSQL_USER
CONF_PASS=$MYSQL_PASS
if dbasm_dbExists $dbname "$confs"; then
echo "$dbname database exists"
else
echo "Creating DB ${dbname} ..."
dbasm_mysqlExec "$confs" "CREATE DATABASE \`${dbname}\`" ""
dbasm_mysqlExec "$confs" "GRANT ALL PRIVILEGES ON \`${dbname}\`.* TO '${CONF_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
fi
}
function dbasm_assemble() {
# to lowercase
database=${1,,}
start_sql=$2
with_base=$3
with_updates=$4
with_custom=$5
uc=${database^^}
name="DB_"$uc"_PATHS"
v="$name[@]"
base=("${!v}")
name="DB_"$uc"_UPDATES_PATHS"
v="$name[@]"
updates=("${!v}")
name='DB_'$uc'_CUSTOM_PATHS'
v="$name[@]"
custom=("${!v}")
suffix_base="_base"
suffix_upd="_updates"
suffix_custom="_custom"
curTime=`date +%Y_%m_%d_%H_%M_%S`
if [ $with_base = true ]; then
echo "" > $OUTPUT_FOLDER$database$suffix_base".sql"
if [ ! ${#base[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_base ..."
for d in "${base[@]}"
do
echo "Searching on $d ..."
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ -e $entry ]]; then
cat "$entry" >> $OUTPUT_FOLDER$database$suffix_base".sql"
fi
done
fi
done
fi
fi
if [ $with_updates = true ]; then
updFile=$OUTPUT_FOLDER$database$suffix_upd".sql"
echo "" > $updFile
if [ ! ${#updates[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_upd ..."
for d in "${updates[@]}"
do
echo "Searching on $d ..."
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ ! -e $entry ]]; then
continue
fi
echo "-- $file" >> $updFile
cat "$entry" >> $updFile
done
fi
done
fi
fi
if [ $with_custom = true ]; then
custFile=$OUTPUT_FOLDER$database$suffix_custom".sql"
echo "" > $custFile
if [ ! ${#custom[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_custom ..."
for d in "${custom[@]}"
do
echo "Searching on $d ..."
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ ! -e $entry ]]; then
continue
fi
echo "-- $file" >> $custFile
cat "$entry" >> $custFile
done
fi
done
fi
fi
}
function dbasm_run() {
echo "===== STARTING ASSEMBLY PROCESS ====="
mkdir -p "$OUTPUT_FOLDER"
for db in ${DATABASES[@]}
do
dbasm_assemble "$db" $version".sql" $1 $2 $3
done
echo "===== DONE ====="
}
function dbasm_db_backup() {
echo "backing up $1"
database=${1,,}
uc=${database^^}
name="DB_"$uc"_CONF"
confs=${!name}
name="DB_"$uc"_NAME"
dbname=${!name}
eval $confs;
if [[ ! -z "${PROMPT_USER// }" ]]; then
MYSQL_USER=$PROMPT_USER
MYSQL_PASS=$PROMPT_PASS
fi
export MYSQL_PWD=$MYSQL_PASS
now=`date +%s`
"$DB_MYSQL_DUMP_EXEC" --opt --user="$MYSQL_USER" --host="$MYSQL_HOST" "$dbname" > "${BACKUP_FOLDER}${database}_backup_${now}.sql" && echo "done"
if [[ $? -ne 0 ]]; then
err=$("$DB_MYSQL_DUMP_EXEC" --opt --user="$MYSQL_USER" --host="$MYSQL_HOST" "$dbname" 2>&1 )
if [[ "$err" == *"Access denied"* ]]; then
read -p "Insert mysql user:" PROMPT_USER
read -p "Insert mysql pass:" -s PROMPT_PASS
export MYSQL_PWD=$PROMPT_PASS
"$DB_MYSQL_DUMP_EXEC" --opt --user="$PROMPT_USER" --host="$MYSQL_HOST" "$dbname" > "${BACKUP_FOLDER}${database}_backup_${now}.sql" && echo "done"
else
exit
fi
fi
}
function dbasm_db_import() {
database=${1,,}
type=$2
uc=${database^^}
name="DB_"$uc"_CONF"
confs=${!name}
name="DB_"$uc"_NAME"
dbname=${!name}
if [[ $type = "base" && $DB_SKIP_BASE_IMPORT_IF_EXISTS = true ]]; then
if dbasm_isNotEmpty $dbname "$confs"; then
echo "$dbname is not empty, base importing skipped"
return
else
echo "$dbname seems empty"
fi
fi
echo "importing $1 - $2 ..."
eval $confs;
if [[ ! -z "${PROMPT_USER// }" ]]; then
MYSQL_USER=$PROMPT_USER
MYSQL_PASS=$PROMPT_PASS
fi
export MYSQL_PWD=$MYSQL_PASS
# TODO: remove this line after we squash our DB updates
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" -e "SET GLOBAL max_allowed_packet=128*1024*1024;"
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" --default-character-set=utf8 "$dbname" < "${OUTPUT_FOLDER}${database}_${type}.sql"
if [[ $? -ne 0 ]]; then
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" "$dbname" 2>&1 )
if [[ "$err" == *"Access denied"* ]]; then
read -p "Insert mysql user:" PROMPT_USER
read -p "Insert mysql pass:" -s PROMPT_PASS
export MYSQL_PWD=$PROMPT_PASS
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" "$dbname" < "${OUTPUT_FOLDER}${database}_${type}.sql"
else
exit
fi
fi
}
function dbasm_import() {
dbasm_run $1 $2 $3
with_base=$1
with_updates=$2
with_custom=$3
echo "===== CHECKING DBs ====="
for db in ${DATABASES[@]}
do
dbasm_createDB "$db"
done
echo "===== DONE ====="
#
# BACKUP
#
if [ $BACKUP_ENABLE = true ]; then
echo "===== STARTING BACKUP PROCESS ====="
mkdir -p "$BACKUP_FOLDER"
for db in ${DATABASES[@]}
do
dbasm_db_backup "$db"
done
echo "===== DONE ====="
fi
echo "===== STARTING IMPORTING PROCESS ====="
#
# IMPORT
#
if [ $with_base = true ]; then
for db in ${DATABASES[@]}
do
dbasm_db_import "$db" "base"
done
fi
if [ $with_updates = true ]; then
for db in ${DATABASES[@]}
do
dbasm_db_import "$db" "updates"
done
fi
if [ $with_custom = true ]; then
for db in ${DATABASES[@]}
do
dbasm_db_import "$db" "custom"
done
fi
echo "===== DONE ====="
}
+11
View File
@@ -0,0 +1,11 @@
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../../bash_shared/includes.sh"
AC_PATH_DBASSEMBLER="$AC_PATH_APPS/db_assembler"
if [ -f "$AC_PATH_DBASSEMBLER/config.sh" ]; then
source "$AC_PATH_DBASSEMBLER/config.sh" # should overwrite previous
fi
source "$AC_PATH_DBASSEMBLER/includes/functions.sh"
+12
View File
@@ -0,0 +1,12 @@
This script is used by devs to export the databases to base directories
You should use it on clean databases
## USAGE
NOTE: this script is only working under unix currently
1) You must create a config.sh file changing DB connection configurations
of /conf/config.sh.dist
2) Run the db_export.sh script and wait
+10 -3
View File
@@ -1,13 +1,20 @@
#!/bin/bash
#!/usr/bin/env bash
ROOTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../../" && pwd )"
source $ROOTPATH"/bin/bash_shared/includes.sh"
source $ROOTPATH"/apps/bash_shared/includes.sh"
if [ -f "./config.sh" ]; then
source "./config.sh" # should overwrite previous
fi
echo "This is a dev-only procedure to export the DB into the SQL base files. All base files will be overwritten."
read -p "Are you sure you want to continue (y/N)? " choice
case "$choice" in
y|Y ) echo "Exporting the DB into the SQL base files...";;
* ) return;;
esac
echo "===== STARTING PROCESS ====="
@@ -34,7 +41,7 @@ function export() {
base_name=${!var_base_name}
bash $AC_PATH_MODULES"/uwd/mysql-tools/mysql-tools" dump "" $base_name "" "$base_conf"
bash $AC_PATH_DEPS"/drassil/mysql-tools/mysql-tools" dump "" $base_name "" "$base_conf"
}
for db in ${DATABASES[@]}
+115
View File
@@ -0,0 +1,115 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/../bash_shared/includes.sh"
UPDATES_PATH="$AC_PATH_ROOT/data/sql/updates/"
function import() {
db=$1
folder="db_"$db
pendingPath="$AC_PATH_ROOT/data/sql/updates/pending_$folder"
updPath="$UPDATES_PATH/$folder"
latestUpd=`ls -1 $updPath/ | tail -n 1`
if [ -z $latestUpd ]; then
echo "FIRST UPDATE FILE MISSING!! DID YOU ARCHIVED IT?";
exit;
fi
dateToday=`date +%Y_%m_%d`
counter=0
dateLast=$latestUpd
tmp=${dateLast#*_*_*_}
oldCnt=${tmp%.sql}
oldDate=${dateLast%_$tmp}
if [ "$oldDate" = "$dateToday" ]; then
((counter=$oldCnt+1))
fi;
for entry in "$pendingPath"/*.sql
do
if [[ -e $entry ]]; then
oldVer=$oldDate"_"$oldCnt
cnt=$(printf -v counter "%02d" $counter ; echo $counter)
newVer=$dateToday"_"$cnt
startTransaction="START TRANSACTION;";
updHeader="ALTER TABLE version_db_"$db" CHANGE COLUMN "$oldVer" "$newVer" bit;";
endTransaction="COMMIT;";
newFile="$updPath/"$dateToday"_"$cnt".sql"
oldFile=$(basename "$entry")
prefix=${oldFile%_*.sql}
suffix=${oldFile#rev_}
rev=${suffix%.sql}
isRev=0
if [[ $prefix = "rev" && $rev =~ ^-?[0-9]+$ ]]; then
isRev=1
fi
echo "-- DB update $oldVer -> $newVer" > "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "DROP PROCEDURE IF EXISTS \`updateDb\`;" >> "$newFile";
echo "DELIMITER //" >> "$newFile";
echo "CREATE PROCEDURE updateDb ()" >> "$newFile";
echo "proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';" >> "$newFile";
echo "SELECT COUNT(*) INTO @COLEXISTS" >> "$newFile";
echo "FROM information_schema.COLUMNS" >> "$newFile";
echo "WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_"$db"' AND COLUMN_NAME = '"$oldVer"';" >> "$newFile";
echo "IF @COLEXISTS = 0 THEN LEAVE proc; END IF;" >> "$newFile";
fi
echo "$startTransaction" >> "$newFile";
echo "$updHeader" >> "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "SELECT sql_rev INTO OK FROM version_db_"$db" WHERE sql_rev = '$rev'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;" >> "$newFile";
fi;
echo "--" >> "$newFile";
echo "-- START UPDATING QUERIES" >> "$newFile";
echo "--" >> "$newFile";
echo "" >> "$newFile";
cat $entry >> "$newFile";
echo "" >> "$newFile";
echo "--" >> "$newFile";
echo "-- END UPDATING QUERIES" >> "$newFile";
echo "--" >> "$newFile";
echo "$endTransaction" >> "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "END //" >> "$newFile";
echo "DELIMITER ;" >> "$newFile";
echo "CALL updateDb();" >> "$newFile";
echo "DROP PROCEDURE IF EXISTS \`updateDb\`;" >> "$newFile";
fi;
rm $entry;
oldDate=$dateToday
oldCnt=$cnt
((counter+=1))
fi
done
}
import "world"
import "characters"
import "auth"
echo "Done."
+207
View File
@@ -0,0 +1,207 @@
function inst_configureOS() {
echo "Platform: $OSTYPE"
case "$OSTYPE" in
solaris*) echo "Solaris is not supported yet" ;;
darwin*) source "$AC_PATH_INSTALLER/includes/os_configs/osx.sh" ;;
linux*)
# If available, use LSB to identify distribution
if [ -f /etc/lsb-release -o -d /etc/lsb-release.d ]; then
DISTRO=$(lsb_release -i | cut -d: -f2 | sed s/'^\t'//)
# Otherwise, use release info file
else
DISTRO=$(ls -d /etc/[A-Za-z]*[_-][rv]e[lr]* | grep -v "lsb" | cut -d'/' -f3 | cut -d'-' -f1 | cut -d'_' -f1)
fi
DISTRO=${DISTRO,,}
echo "Distro: $DISTRO"
# TODO: implement different configurations by distro
source "$AC_PATH_INSTALLER/includes/os_configs/$DISTRO.sh"
;;
bsd*) echo "BSD is not supported yet" ;;
msys*) source "$AC_PATH_INSTALLER/includes/os_configs/windows.sh" ;;
*) echo "This platform is not supported" ;;
esac
}
function inst_updateRepo() {
cd "$AC_PATH_ROOT"
git pull origin $(git rev-parse --abbrev-ref HEAD)
}
function inst_resetRepo() {
cd "$AC_PATH_ROOT"
git reset --hard $(git rev-parse --abbrev-ref HEAD)
git clean -f
}
function inst_compile() {
comp_configure
comp_build
}
function inst_cleanCompile() {
comp_clean
inst_compile
}
function inst_allInOne() {
inst_configureOS
inst_updateRepo
inst_compile
dbasm_import true true true
}
function inst_getVersionBranch() {
local res="master"
local v="not-defined"
local MODULE_MAJOR=0
local MODULE_MINOR=0
local MODULE_PATCH=0
local MODULE_SPECIAL=0;
local ACV_MAJOR=0
local ACV_MINOR=0
local ACV_PATCH=0
local ACV_SPECIAL=0;
local curldata=$(curl -f --silent -H 'Cache-Control: no-cache' "$1" || echo "{}")
local parsed=$(echo "$curldata" | "$AC_PATH_DEPS/jsonpath/JSONPath.sh" -b '$.compatibility.*.[version,branch]')
semverParseInto "$ACORE_VERSION" ACV_MAJOR ACV_MINOR ACV_PATCH ACV_SPECIAL
if [[ ! -z "$parsed" ]]; then
readarray -t vers < <(echo "$parsed")
local idx
res="none"
# since we've the pair version,branch alternated in not associative and one-dimensional
# array, we've to simulate the association with length/2 trick
for idx in `seq 0 $((${#vers[*]}/2-1))`; do
semverParseInto "${vers[idx*2]}" MODULE_MAJOR MODULE_MINOR MODULE_PATCH MODULE_SPECIAL
if [[ $MODULE_MAJOR -eq $ACV_MAJOR && $MODULE_MINOR -le $ACV_MINOR ]]; then
res="${vers[idx*2+1]}"
v="${vers[idx*2]}"
fi
done
fi
echo "$v" "$res"
}
function inst_module_search {
local res="$1"
local idx=0;
if [ -z "$1" ]; then
echo "Type what to search or leave blank for full list"
read -p "Insert name: " res
fi
local search="+$res"
echo "Searching $res..."
echo "";
readarray -t MODS < <(curl --silent "https://api.github.com/search/repositories?q=org%3Aazerothcore${search}+fork%3Atrue+topic%3Acore-module+sort%3Astars&type=" \
| "$AC_PATH_DEPS/jsonpath/JSONPath.sh" -b '$.items.*.name')
while (( ${#MODS[@]} > idx )); do
mod="${MODS[idx++]}"
read v b < <(inst_getVersionBranch "https://raw.githubusercontent.com/azerothcore/$mod/master/acore-module.json")
if [[ "$b" != "none" ]]; then
echo "-> $mod (tested with AC version: $v)"
else
echo "-> $mod (no revision available for AC v$AC_VERSION, it could not work!)"
fi
done
echo "";
echo "";
}
function inst_module_install {
local res
if [ -z "$1" ]; then
echo "Type the name of the module to install"
read -p "Insert name: " res
else
res="$1"
fi
read v b < <(inst_getVersionBranch "https://raw.githubusercontent.com/azerothcore/$res/master/acore-module.json")
if [[ "$b" != "none" ]]; then
Joiner:add_repo "https://github.com/azerothcore/$res" "$res" "$b" && echo "Done, please re-run compiling and db assembly. Read instruction on module repository for more information"
else
echo "Cannot install $res module: it doesn't exists or no version compatible with AC v$ACORE_VERSION are available"
fi
echo "";
echo "";
}
function inst_module_update {
local res;
local _tmp;
local branch;
local p;
if [ -z "$1" ]; then
echo "Type the name of the module to update"
read -p "Insert name: " res
else
res="$1"
fi
_tmp=$PWD
if [ -d "$J_PATH_MODULES/$res/" ]; then
read v b < <(inst_getVersionBranch "https://raw.githubusercontent.com/azerothcore/$res/master/acore-module.json")
cd "$J_PATH_MODULES/$res/"
# use current branch if something wrong with json
if [[ "$v" == "none" || "$v" == "not-defined" ]]; then
b=`git rev-parse --abbrev-ref HEAD`
fi
Joiner:upd_repo "https://github.com/azerothcore/$res" "$res" "$b" && echo "Done, please re-run compiling and db assembly" || echo "Cannot update"
cd $_tmp
else
echo "Cannot update! Path doesn't exist"
fi;
echo "";
echo "";
}
function inst_module_remove {
if [ -z "$1" ]; then
echo "Type the name of the module to remove"
read -p "Insert name: " res
else
res="$1"
fi
Joiner:remove "$res" && echo "Done, please re-run compiling" || echo "Cannot remove"
echo "";
echo "";
}
function inst_simple_restarter {
echo "Running $1 ..."
bash "$AC_PATH_APPS/startup-scripts/simple-restarter" "$AC_BINPATH_FULL" "$1"
echo
#disown -a
#jobs -l
}
function inst_download_client_data {
local path="$AC_BINPATH_FULL"
echo "Downloading client data in: $path/data.zip ..."
curl -L https://github.com/wowgaming/client-data/releases/download/v5/data.zip > "$path/data.zip" \
&& unzip -o "$path/data.zip" -d "$path/" && rm "$path/data.zip"
}
+38
View File
@@ -0,0 +1,38 @@
[[ ${INSTALLER_GUARDYVAR:-} -eq 1 ]] && return || readonly INSTALLER_GUARDYVAR=1 # include it once
CURRENT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd )
source "$CURRENT_PATH/../../bash_shared/includes.sh"
AC_PATH_INSTALLER="$AC_PATH_APPS/installer"
J_VER_REQ="v0.8.3"
J_PATH="$AC_PATH_APPS/drassil/joiner"
J_PATH_MODULES="$AC_PATH_MODULES"
#install/update and include joiner
if [ ! -d "$J_PATH/.git" ]; then
git clone https://github.com/drassil/joiner "$J_PATH" -b master
git --git-dir="$J_PATH/.git/" --work-tree="$J_PATH/" reset --hard "$J_VER_REQ"
else
# legacy code, with new rev of joiner the update process is internally handled
_cur_branch=`git --git-dir="$J_PATH/.git/" --work-tree="$J_PATH/" rev-parse --abbrev-ref HEAD`
_cur_ver=`git --git-dir="$J_PATH/.git/" --work-tree="$J_PATH/" name-rev --tags --name-only $_cur_branch`
if [ "$_cur_ver" != "$J_VER_REQ" ]; then
git --git-dir="$J_PATH/.git" --work-tree="$J_PATH/" rev-parse && git --git-dir="$J_PATH/.git" --work-tree="$J_PATH/" fetch --tags origin master --quiet
git --git-dir="$J_PATH/.git/" --work-tree="$J_PATH/" reset --hard "$J_VER_REQ"
fi
fi
source "$AC_PATH_APPS/drassil/joiner/joiner.sh"
if [ -f "$AC_PATH_INSTALLER/config.sh" ]; then
source "$AC_PATH_INSTALLER/config.sh" # should overwrite previous
fi
source "$AC_PATH_APPS/compiler/includes/includes.sh"
source "$AC_PATH_APPS/db_assembler/includes/includes.sh"
source "$AC_PATH_DEPS/semver_bash/semver.sh"
source "$AC_PATH_INSTALLER/includes/functions.sh"
@@ -0,0 +1,5 @@
sudo apt-get install -y git cmake make gcc g++ clang libmysqlclient-dev \
libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev \
mysql-server libace-6.* libace-dev curl unzip
@@ -0,0 +1,6 @@
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install openssl readline cmake ace coreutils bash bash-completion md5sha1sum curl unzip
@@ -0,0 +1,21 @@
UBUNTU_VERSION=$(lsb_release -sr);
if [[ $TRAVIS && $CONTINUOUS_INTEGRATION ]]; then
sudo apt-get -y install build-essential libtool make cmake cmake-data clang openssl libgoogle-perftools-dev \
libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libace-dev
else
case $UBUNTU_VERSION in
"14.04")
sudo apt-get -y install build-essential libtool make cmake cmake-data gcc g++ clang openssl libgoogle-perftools-dev \
libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libace-dev mysql-server libncurses-dev \
curl unzip
;;
*)
sudo apt-get install -y git cmake make gcc g++ clang libmysqlclient-dev \
libssl-dev libbz2-dev libreadline-dev libncurses-dev \
mysql-server libace-6.* libace-dev curl unzip
;;
esac
fi
@@ -0,0 +1,17 @@
echo "WARNING: Installer Script for Windows is not fully supported yet. Work in progress.."
echo "!!README!!: Please install openssl and mysql libraries manually following our wiki"
# install chocolatey before
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
# install automatically following packages:
# cmake
# git
# microsoft-build-tools
# mysql 5.6
choco install -y --skip-checksums cmake git git.install microsoft-build-tools
choco install -y --skip-checksums mysql --version 5.6.12
echo "!!README!!: Please remember to install openssl and mysql libraries manually following our wiki"
+93
View File
@@ -0,0 +1,93 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/includes/includes.sh"
PS3='[Please enter your choice]: '
options=(
"init (i): First Installation" # 1
"install-deps (d): Configure OS dep" # 2
"pull (u): Update Repository" # 3
"reset (r): Reset & Clean Repository" # 4
"compiler (c): Run compiler tool" # 5
"db-assembler (a): Run db assembler tool" # 6
"module-search (ms): Module Search by keyword" # 7
"module-install (mi): Module Install by name" # 8
"module-update (mu): Module Update by name" # 9
"module-remove: (mr): Module Remove by name" # 10
"client-data: (gd): download client data from github repository (beta)" # 11
"run-worldserver (rw): execute a simple restarter for worldserver" # 12
"run-authserver (ra): execute a simple restarter for authserver" # 13
"quit: Exit from this menu" # 14
)
function _switch() {
_reply="$1"
_opt="$2"
case $_reply in
""|"i"|"init"|"1")
inst_allInOne
;;
""|"d"|"install-deps"|"2")
inst_configureOS
;;
""|"u"|"pull"|"3")
inst_updateRepo
;;
""|"r"|"reset"|"4")
inst_resetRepo
;;
""|"c"|"compiler"|"5")
bash "$AC_PATH_APPS/compiler/compiler.sh" $_opt
;;
""|"a"|"db-assembler"|"6")
bash "$AC_PATH_APPS/db_assembler/db_assembler.sh" $_opt
;;
""|"ms"|"module-search"|"7")
inst_module_search "$_opt"
;;
""|"mi"|"module-install"|"8")
inst_module_install "$_opt"
;;
""|"mu"|"module-update"|"9")
inst_module_update "$_opt"
;;
""|"mr"|"module-remove"|"10")
inst_module_remove "$_opt"
;;
""|"gd"|"client-data"|"11")
inst_download_client_data
;;
""|"rw"|"run-worldserver"|"12")
inst_simple_restarter worldserver
;;
""|"ra"|"run-authserver"|"13")
inst_simple_restarter authserver
;;
""|"quit"|"14")
echo "Goodbye!"
exit
;;
""|"--help")
echo "Available commands:"
printf '%s\n' "${options[@]}"
;;
*) echo "invalid option, use --help option for the commands list";;
esac
}
while true
do
# run option directly if specified in argument
[ ! -z $1 ] && _switch $@ # old method: "${options[$cmdopt-1]}"
[ ! -z $1 ] && exit 0
echo "==== ACORE DASHBOARD ===="
select opt in "${options[@]}"
do
_switch $REPLY
break
done
done
+50
View File
@@ -0,0 +1,50 @@
# enable/disable GDB execution
export GDB_ENABLED=0
# [optional] gdb file
# default: gdb.txt
export GDB=""
# directory where binary are stored
export BINPATH=""
# Put here the pid you configured on your worldserver.conf file
# needed when GDB_ENABLED=1
export SERVERPID=""
# path to configuration file (including the file name)
# ex: /home/user/azerothcore/etc/worldserver.conf
export CONFIG=""
# path of log files
# needed by restarter to store its logs
export LOGS_PATH="";
# exec name
# ex: worldserver
export SERVERBIN=""
# prefix name for log files
# to avoid collision with other restarters
export LOG_PREFIX_NAME=""
# [optional] name of screen service
# if no specified, screen util won't be used
export SCREEN_NAME=""
# [optional] overwrite default screen options: -A -m -d -S
# WARNING: if you are running it under a systemd service
# please do not remove -m -d arguments from screen if are you using it,
# or keep WITH_CONSOLE=0 .
# otherwise the journald-logging system will take 100% of CPU slowing
# down the whole machine. It's because a systemd service should have
# low console output.
export SCREEN_OPTIONS=""
# enable/disable it to show the output
# within console, if disable the output will be redirect to
# logging files
#
export WITH_CONSOLE=0
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
# you must create your conf
# copying conf.sh.dist
# and renaming as below
source ./conf-auth.sh
restarter
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
# you must create your conf
# copying conf.sh.dist
# and renaming as below
source ./conf-world.sh
restarter
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
# you must create your conf
# copying conf.sh.dist
# and renaming as below
source ./conf-auth.sh
starter
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
# you must create your conf
# copying conf.sh.dist
# and renaming as below
source ./conf-world.sh
starter
+113
View File
@@ -0,0 +1,113 @@
export RUN_ENGINE_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# load default conf
if [ -e "$RUN_ENGINE_PATH/conf.dist" ]; then
source "$RUN_ENGINE_PATH/conf.sh.dist"
fi
function finish {
if [ ! -z "$SCREEN_NAME" ]; then
screen -X -S "$SCREEN_NAME" quit
fi
}
# disabled for now, but could be useful if we want
# shutdown the process if restarter crashes for some reason
# trap finish EXIT
function configureFiles() {
TRACE_BEGIN_STRING="SIGSEGV"
TRACE_FILE="$LOGS_PATH/"$LOG_PREFIX_NAME"_trace.log"
ERR_FILE="$LOGS_PATH/"$LOG_PREFIX_NAME"_error.log"
SYSLOG="$LOGS_PATH/"$LOG_PREFIX_NAME"_system.log"
SYSERR="$LOGS_PATH/"$LOG_PREFIX_NAME"_system.err"
LINKS_FILE="$LOGS_PATH/"$LOG_PREFIX_NAME"_crash_links.link"
}
function checkStatus() {
local ret=1
# wipe do : destroy old screens + ls
#screen -wipe
#if screen -ls $1 | grep -q "No Sockets found"
#then
# return 0
#fi
local gdbres=$(pgrep -f "gdb -x $GDB --batch $SERVERBIN")
if [[ $GDB_ENABLED -eq 1 && ! -z $gdbres ]]; then
return 1
fi
#
# This is a specific check for Azeroth Core in case of screen failure
# It is possible since same binary file cannot be launched with same configuration file
# This is an extra check
#
local binres=$(pgrep -f "$SERVERBIN -c $CONFIG")
if [ ! -z $binres ]; then
return 1
fi
return 0
}
function run() {
echo $1
if [ ! -z $1 ]; then
local OPTIONS="-A -m -d -S"
if [ ! -z "$SCREEN_OPTIONS" ]; then
OPTIONS=$SCREEN_OPTIONS
fi
echo "> Starting with screen ( screen $OPTIONS )"
screen $OPTIONS $1 "$RUN_ENGINE_PATH/starter" $2 $3 "$4" "$5" "$6" $7
else
$RUN_ENGINE_PATH/starter $2 $3 "$4" "$5" "$6" $7
fi
}
function starter() {
cd $BINPATH
mkdir -p "$LOGS_PATH"
configureFiles
run "$SCREEN_NAME" "$SERVERBIN" "$GDB" "$CONFIG" "$SYSLOG" "$SYSERR" "$GDB_ENABLED"
}
function restarter() {
cd $BINPATH
mkdir -p "$LOGS_PATH"
configureFiles
if [ ! -f $TRACE_FILE ]; then
touch $TRACE_FILE
fi
while :
do
if checkStatus $SCREEN_NAME; then
DATE=$(date)
echo "Restarting $SCREEN_NAME Core blizz($DATE)"
if [ $GDB_ENABLED -eq 1 ]; then
echo "GDB enabled"
grep -B 10 -A 1800 "$TRACE_BEGIN_STRING" "$SYSLOG" >> "$TRACE_FILE"
cat "$SYSERR" > "$ERR_FILE"
run "$SCREEN_NAME" "$SERVERBIN" "$GDB" "$CONFIG" "$SYSLOG" "$SYSERR" 1
fi
if [ $GDB_ENABLED -eq 0 ]; then
echo "GDB disabled"
run "$SCREEN_NAME" "$SERVERBIN" null "$CONFIG" null null 0
fi
fi
sleep 10
done
}
+53
View File
@@ -0,0 +1,53 @@
#!/usr/bin/env bash
#PARAMETER 1: directory
#PARAMETER 2: binary file
_bin_path=$1
_bin_file=$2
_instant_crash_cnt=0
_total_crashes=0
trap 'echo "va bene"' SIGHUP
while true
do
if [ ! -f "$_bin_path/$_bin_file" ]; then
echo "$_bin_path/$_bin_file doesn't exists!"
exit 0
fi
STARTING_TIME=$(date +%s)
cd "$_bin_path" && "./$_bin_file" # &>/dev/null;
_exit_code=$?
echo "exit code: $_exit_code"
# stop restarter on SIGKILL (disabled for now)
# 128 + 9 (SIGKILL)
#if [ $_exit_code -eq 137 ]; then
# echo "$_bin_file has been killed"
# exit 0
#fi
echo "$_bin_file crashed (?), restarting..."
ENDING_TIME=$(date +%s)
DIFFERENCE=$(( $ENDING_TIME - $STARTING_TIME ))
((_total_crashes++))
echo "$_bin_file Crashed after $DIFFERENCE seconds, total crashes: $_total_crashes"
if [ $DIFFERENCE -lt 10 ]; then
# increment instant crash if runtime is lower than 10 seconds
((_instant_crash_cnt++))
else
_instant_crash_cnt=0 # reset count
fi
if [ $_instant_crash_cnt -gt 5 ]; then
echo "$_bin_file Restarter exited. Infinite crash loop prevented. Please check your system"
exit 0
fi
done
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
GDB_FILE="$2"
CONFIG="$3"
SYSLOG="$4"
SYSERR="$5"
GDB_ENABLED="$6"
if [ $GDB_ENABLED -eq 1 ]; then
echo "set logging on" > "$GDB_FILE"
echo "set debug timestamp" >> "$GDB_FILE"
echo "run -c $3" >> "$GDB_FILE"
echo "bt" >> "$GDB_FILE"
[ ! -f "$SYSLOG" ] && touch "$SYSLOG"
[ ! -f "$SYSERR" ] && touch "$SYSERR"
if [ $WITH_CONSOLE -eq 0 ]; then
gdb -x $GDB_FILE --batch $1 >> "$SYSLOG" 2>> "$SYSERR"
else
echo "> Console enabled"
gdb -x $GDB_FILE --batch $1 > >(tee ${SYSLOG}) 2> >(tee ${SYSERR} >&2)
fi
elif [ $GDB_ENABLED -eq 0 ]; then
"./$1" -c "$CONFIG"
fi
Executable
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/acore-installer"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/../apps/compiler/compiler.sh"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/../apps/db_assembler/db_assembler.sh"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/../apps/db_exporter/db_export.sh"
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/../apps/db_pendings/import.sh"
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker build -t azerothcore/build -f docker/build/Dockerfile .
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
cp docker/worldserver/etc/worldserver.conf.dockerdist docker/worldserver/etc/worldserver.conf
cp docker/authserver/etc/authserver.conf.dockerdist docker/authserver/etc/authserver.conf
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CUR_PATH/../apps/installer/main.sh"
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 1
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 2
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 3
-43
View File
@@ -1,43 +0,0 @@
#!/bin/bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_PATH/includes/includes.sh"
function all() {
clean
configure
build
}
function run_option() {
if test "${comp_functions[$1-1]+'test'}"; then
${comp_functions[$1-1]}
else
echo "invalid option"
fi
}
comp_options=("Clean" "Configure" "Build" "All")
comp_functions=("clean" "configure" "build" "all")
runHooks "ON_AFTER_OPTIONS" #you can create your custom options
# push exit after custom options
comp_options+=('Exit')
comp_functions+=('exit 0')
# run option directly if specified in argument
[ ! -z $1 ] && run_option $1 && exit 0
PS3='[ Please enter your choice ]: '
select opt in "${comp_options[@]}"
do
case $opt in
'Exit')
break
;;
*)
run_option $REPLY
;;
esac
done
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash
# you can choose build type from cmd argument
if [ ! -z $1 ]
then
CCTYPE=$1
CCTYPE=${CCTYPE^} # capitalize first letter if it's not yet
fi
BUILDPATH=$BINPATH
INSTALL_PATH=$(readlink -f "$BINPATH/../")
[ $CTYPE == "Debug" ] && BUILDPATH="$BUILDPATH/debug/build/" || BUILDPATH="$BUILDPATH/release/build/"
[ $CTYPE == "Debug" ] && BINPATH="$BINPATH/debug" || BINPATH="$BINPATH/release"
-153
View File
@@ -1,153 +0,0 @@
#!/bin/bash
unamestr=`uname`
if [[ "$unamestr" == 'Darwin' ]]; then
SRCPATH=$(greadlink -f "../../")
else
SRCPATH=$(readlink -f "../../")
fi
source $SRCPATH"/bin/bash_shared/includes.sh"
if [ -f "./config.sh" ]; then
source "./config.sh" # should overwrite previous
fi
if [[ "$unamestr" == 'Darwin' ]]; then
MD5_CMD="md5"
else
MD5_CMD="md5sum"
fi
reg_file="$OUTPUT_FOLDER/.zzz_db_assembler_registry.sh"
registry=()
if [ -f "$reg_file" ]; then
source "$reg_file"
fi
echo "===== STARTING PROCESS ====="
function assemble() {
database=$1
start_sql=$2
var_base="DB_"$database"_PATHS"
base=${!var_base}
var_updates="DB_"$database"_UPDATE_PATHS"
updates=${!var_updates}
var_custom="DB_"$database"_CUSTOM_PATHS"
custom=${!var_custom}
suffix_base=""
suffix_upd=""
suffix_custom=""
if (( $ALL_IN_ONE == 0 )); then
suffix_base="_base"
fi;
echo "" > $OUTPUT_FOLDER$database$suffix_base".sql"
if [ ! ${#base[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_base ..."
for d in "${base[@]}"
do
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ -e $entry ]]; then
cat "$entry" >> $OUTPUT_FOLDER$database$suffix_base".sql"
fi
done
fi
done
fi
if (( $ALL_IN_ONE == 0 )); then
suffix_upd="_updates"
echo "" > $OUTPUT_FOLDER$database$suffix_upd".sql"
fi;
if [ ! ${#updates[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_upd ..."
for d in "${updates[@]}"
do
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ ! -e $entry ]]; then
continue
fi
file=$(basename "$entry")
hash=$($MD5_CMD "$entry")
hash="${hash%% *}" #remove file path
if [[ -z ${registry[$hash]} ]]; then
registry["$hash"]="$file"
echo "-- New update sql: "$file
cat "$entry" >> $OUTPUT_FOLDER$database$suffix_upd".sql"
fi
done
fi
done
fi
if (( $ALL_IN_ONE == 0 )); then
suffix_custom="_custom"
echo "" > $OUTPUT_FOLDER$database$suffix_custom".sql"
fi;
if [ ! ${#custom[@]} -eq 0 ]; then
echo "Generating $OUTPUT_FOLDER$database$suffix_custom ..."
for d in "${custom[@]}"
do
if [ ! -z $d ]; then
for entry in "$d"/*.sql "$d"/**/*.sql
do
if [[ ! -e $entry ]]; then
continue
fi
file=$(basename "$entry")
hash=$($MD5_CMD "$entry")
hash="${hash%% *}" #remove file path
if [[ -z ${registry[$hash]} ]]; then
registry["$hash"]="$file"
echo "-- New custom sql: "$file
cat "$entry" >> $OUTPUT_FOLDER$database$suffix_custom".sql"
fi
done
fi
done
fi
}
mkdir -p $OUTPUT_FOLDER
for db in ${DATABASES[@]}
do
assemble "$db" $version".sql"
done
echo "" > $reg_file
for i in "${!registry[@]}"
do
echo "registry['"$i"']='"${registry[$i]}"'" >> "$reg_file"
done
echo "===== DONE ====="
-68
View File
@@ -1,68 +0,0 @@
#!/bin/bash
function checkStatus() {
if [ -d "/proc/"$1 ]; then
eval "TEST=1"
else
eval "TEST=0"
fi
}
function starter() {
local CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $BINPATH
mkdir -p "$LOGS_PATH"
TRACE_BEGIN_STRING="SIGSEGV"
TRACE_FILE="$LOGS_PATH/"$SCREEN_NAME"_trace.log"
ERR_FILE="$LOGS_PATH/"$SCREEN_NAME"_error.log"
SYSLOG="$LOGS_PATH/"$SCREEN_NAME"_system.log"
SYSERR="$LOGS_PATH/"$SCREEN_NAME"_system.err"
LINKS_FILE="$LOGS_PATH/"$SCREEN_NAME"_crash_links.link"
$CURRENT_PATH/starter $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" $GDB_ENABLED
}
function restarter() {
local CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $BINPATH
mkdir -p "$LOGS_PATH"
TRACE_BEGIN_STRING="SIGSEGV"
TRACE_FILE="$LOGS_PATH/"$SCREEN_NAME"_trace.log"
ERR_FILE="$LOGS_PATH/"$SCREEN_NAME"_error.log"
SYSLOG="$LOGS_PATH/"$SCREEN_NAME"_system.log"
SYSERR="$LOGS_PATH/"$SCREEN_NAME"_system.err"
LINKS_FILE="$LOGS_PATH/"$SCREEN_NAME"_crash_links.link"
if [ ! -f $TRACE_FILE ]; then
touch $TRACE_FILE
fi
while :
do
PID=$(cat $SERVERPID)
checkStatus $PID
if [ $TEST -eq 0 ]; then
DATE=$(date)
echo "Restarting $SCREEN_NAME Core blizz($DATE)"
if [ $GDB_ENABLED -eq 1 ]; then
echo "GDB enabled"
grep -B 10 -A 1800 "$TRACE_BEGIN_STRING" "$SYSLOG" >> "$TRACE_FILE"
cat "$SYSERR" > "$ERR_FILE"
screen -A -m -d -S $SCREEN_NAME "$CURRENT_PATH/starter" $SERVERBIN $GDB "$CONFIG" "$SYSLOG" "$SYSERR" 1
fi
if [ $GDB_ENABLED -eq 0 ]; then
echo "GDB disabled"
screen -A -m -d -S $SCREEN_NAME "$CURRENT_PATH/starter" $SERVERBIN null "$CONFIG" null null 0
fi
fi
sleep 15
done
}
-21
View File
@@ -1,21 +0,0 @@
#!/bin/bash
GDB_FILE="$2"
CONFIG="$3"
SYSLOG="$4"
SYSERR="$5"
GBD_ENABLED="$6"
if [ $GBD_ENABLED -eq 1 ]; then
echo "set logging on" > "$GDB_FILE"
echo "set debug timestamp" >> "$GDB_FILE"
echo "run -c $3" >> "$GDB_FILE"
echo "bt" >> "$GDB_FILE"
[ ! -f "$SYSLOG" ] && touch "$SYSLOG"
[ ! -f "$SYSERR" ] && touch "$SYSERR"
gdb -x $GDB_FILE --batch $1 >> "$SYSLOG" 2>> "$SYSERR"
elif [ $GBD_ENABLED -eq 0 ]; then
"./$1" -c "$CONFIG"
fi
+18 -9
View File
@@ -1,9 +1,18 @@
option(SERVERS "Build worldserver and authserver" 1)
option(SCRIPTS "Build core with scripts included" 1)
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITH_MESHEXTRACTOR "Build meshextractor (alpha)" 0)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)
option(SERVERS "Build worldserver and authserver" 1)
option(SCRIPTS "Build core with scripts included" 1)
option(TOOLS "Build map/vmap/mmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(MARIADB "Compatibility with 10.2+ versions of MariaDB library" 0)
option(WITH_PERFTOOLS "Enable compilation with gperftools libraries included" 0)
option(WITH_MESHEXTRACTOR "Build meshextractor (alpha)" 0)
option(WITHOUT_GIT "Disable the GIT testing routines" 0)
option(ENABLE_EXTRAS "Set to 0 to disable extra features optimizing performances" 1)
option(ENABLE_VMAP_CHECKS "Enable Checks relative to DisableMgr system on vmap" 1)
option(ENABLE_EXTRA_LOGS "Enable extra log functions that can be CPU intensive" 0)
# Source tree in IDE
set(WITH_SOURCE_TREE "hierarchical" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical)
+112 -93
View File
@@ -1,14 +1,16 @@
#!/bin/bash
#!/bin/bash
# absolute root path of your azerothshard repository
# absolute root path of your azerothcore repository
# It should not be modified if you don't really know what you're doing
SRCPATH="$AC_PATH_ROOT"
# absolute path where build files must be stored
BUILDPATH="$AC_PATH_ROOT/var/build/obj"
# absolute path where binary files must be stored
BINPATH="$AC_PATH_ROOT/build/"
BINPATH="$AC_PATH_ROOT/env/dist"
# absolute path where config. files must be stored
CONFDIR="$AC_PATH_ROOT/build/etc/"
# default: the system will use binpath by default
# CONFDIR="$AC_PATH_ROOT/env/dist/etc/"
##############################################
#
@@ -17,137 +19,154 @@ CONFDIR="$AC_PATH_ROOT/build/etc/"
##############################################
# set preferred compilers
#CCOMPILERC="/usr/bin/clang-3.6"
#CCOMPILERCC="/usr/bin/clang-3.6"
#CCOMPILERCXX="/usr/bin/clang++-3.6"
CCOMPILERC="/usr/bin/gcc"
CCOMPILERCC="/usr/bin/gcc"
CCOMPILERCXX="/usr/bin/g++"
# Set preferred compilers.
# To use gcc (not suggested) instead of clang change in:
# CCOMPILERC="/usr/bin/gcc"
# CCOMPILERCXX="/usr/bin/g++"
#
CCOMPILERC="/usr/bin/clang"
CCOMPILERCXX="/usr/bin/clang++"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# enable/disable warnings during compilation
CWARNINGS=1
CWARNINGS=ON
# enable/disable some debug informations ( it's not a debug compilation )
CDEBUG=0
CDEBUG=OFF
# specify compilation type
CTYPE=Release
# compile scripts
CSCRIPTS=1
CSCRIPTS=ON
# compile server
CSERVERS=1
CSERVERS=ON
# compile tools
CTOOLS=0
CTOOLS=OFF
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
CSCRIPTPCH=1
CCOREPCH=1
CSCRIPTPCH=ON
CCOREPCH=ON
# Skip specific modules from compilation (cmake reconfigure needed)
# use semicolon ; to separate modules
CDISABLED_AC_MODULES=""
# you can add your custom definitions here ( -D )
# example: CCUSTOMOPTIONS=" -DWITH_PERFTOOLS=ON -DENABLE_EXTRA_LOGS=ON"
#
CCUSTOMOPTIONS=""
##############################################
#
# RUNNER CONFIGURATION
#
##############################################
# enable/disable GDB execution
export GDB_ENABLED=0
# gdb file
export GDB=""
# directory where binary are stored
export BINPATH=""
### Put here the pid you configured on your worldserver.conf file ###
export SERVERPID=""
# path to conf file
export CONFIG=""
# path of log files
export LOGS_PATH="";
# exec name
export SERVERBIN=""
# name of screen service ( for restarter )
export SCREEN_NAME=""
##############################################
#
# DB ASSEMBLER CONFIGURATIONS
# DB ASSEMBLER / EXPORTER CONFIGURATIONS
#
##############################################
# 0 if you want create an sql for each kind of following categories
# 1 to create a single big file to import ( suggested for new installations )
ALL_IN_ONE=0
#
# Basically you don't have to edit it
# but if you have another database you can add it here
# and create relative confiugurations below
#
DATABASES=(
"AUTH"
"CHARACTERS"
"WORLD"
)
OUTPUT_FOLDER="output/"
OUTPUT_FOLDER="$AC_PATH_ROOT/env/dist/sql/"
####### BACKUP
# Set to true if you want to backup your azerothcore databases before importing the SQL with the db_assembler
# Do not forget to stop your database software (mysql) before doing so
BACKUP_ENABLE=false
BACKUP_FOLDER="$AC_PATH_ROOT/env/dist/sql/backup/"
#######
# FULL DB
DB_CHARACTERS_PATHS=(
$SRCPATH"/data/sql/base/characters"
)
DB_CHARACTERS_NAME="characters"
DB_CHARACTERS_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_AUTH_PATHS=(
$SRCPATH"/data/sql/base/auth/"
$SRCPATH"/data/sql/base/db_auth/"
)
DB_AUTH_NAME="auth"
DB_AUTH_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_CHARACTERS_PATHS=(
$SRCPATH"/data/sql/base/db_characters"
)
DB_WORLD_PATHS=(
$SRCPATH"/data/sql/base/world/"
$SRCPATH"/data/sql/base/db_world/"
)
DB_WORLD_NAME="world"
DB_WORLD_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
# UPDATES
DB_CHARACTERS_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/characters/"
DB_AUTH_UPDATES_PATHS=(
$SRCPATH"/data/sql/updates/db_auth/"
$SRCPATH"/data/sql/updates/pending_db_auth/"
)
DB_AUTH_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/auth/"
DB_CHARACTERS_UPDATES_PATHS=(
$SRCPATH"/data/sql/updates/db_characters/"
$SRCPATH"/data/sql/updates/pending_db_characters/"
)
DB_WORLD_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/world/"
DB_WORLD_UPDATES_PATHS=(
$SRCPATH"/data/sql/updates/db_world/"
$SRCPATH"/data/sql/updates/pending_db_world/"
)
# CUSTOM
DB_CHARACTERS_CUSTOM_PATHS=(
DB_AUTH_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_auth/"
)
DB_AUTH_CUSTOM_PATHS=(
DB_CHARACTERS_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_characters/"
)
DB_WORLD_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_world/"
)
##############################################
#
# DB EXPORTER/IMPORTER CONFIGURATIONS
#
##############################################
#
# Skip import of base sql files to avoid
# table dropping
#
DB_SKIP_BASE_IMPORT_IF_EXISTS=true
#
# Example:
# "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe"
# "/usr/bin/mysql"
# "mysql"
#
DB_MYSQL_EXEC="mysql"
DB_MYSQL_DUMP_EXEC="mysqldump"
DB_AUTH_CONF="MYSQL_USER='acore'; \
MYSQL_PASS='acore'; \
MYSQL_HOST='127.0.0.1';\
"
DB_CHARACTERS_CONF="MYSQL_USER='acore'; \
MYSQL_PASS='acore'; \
MYSQL_HOST='127.0.0.1';\
"
DB_WORLD_CONF="MYSQL_USER='acore'; \
MYSQL_PASS='acore'; \
MYSQL_HOST='127.0.0.1';\
"
DB_AUTH_NAME="acore_auth"
DB_CHARACTERS_NAME="acore_characters"
DB_WORLD_NAME="acore_world"
@@ -0,0 +1,6 @@
ALTER TABLE auth_db_version CHANGE COLUMN 2016_07_10_00 2016_08_25_00 bit;
--
-- Do not remove this file when we archive sql under this folder
-- it is needed for pending sql importer
--
@@ -0,0 +1,13 @@
ALTER TABLE auth_db_version CHANGE COLUMN 2016_08_25_00 2016_08_25_01 bit;
RENAME TABLE `auth_db_version` TO `version_db_auth`;
ALTER TABLE `version_db_auth`
ADD COLUMN `sql_rev` VARCHAR(100) NOT NULL FIRST,
ADD COLUMN `required_rev` VARCHAR(100) NULL AFTER `sql_rev`,
ADD PRIMARY KEY (`sql_rev`),
ENGINE=INNODB;
ALTER TABLE `version_db_auth` ADD CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_auth`(`sql_rev`);
@@ -0,0 +1,13 @@
START TRANSACTION;
ALTER TABLE version_db_auth CHANGE COLUMN 2016_08_25_01 2016_09_04_00 bit;
CREATE TABLE `logs` (
`time` int(10) unsigned NOT NULL,
`realm` int(10) unsigned NOT NULL,
`type` varchar(250) NOT NULL,
`level` tinyint(3) unsigned NOT NULL DEFAULT '0',
`string` text CHARACTER SET latin1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;
@@ -0,0 +1,7 @@
-- uncomment and fix following line at next revision / updates archivation
-- ALTER TABLE auth_db_version CHANGE COLUMN xxxx_xx_xx_xx xxxx_xx_xx_xx bit;
--
-- Do not remove this file when we archive sql under this folder
-- it is needed for pending sql importer
--
@@ -0,0 +1,12 @@
ALTER TABLE characters_db_version CHANGE COLUMN 2016_08_15_00 2016_08_25_00 bit;
RENAME TABLE `characters_db_version` TO `version_db_characters`;
ALTER TABLE `version_db_characters`
ADD COLUMN `sql_rev` VARCHAR(100) NOT NULL FIRST,
ADD COLUMN `required_rev` VARCHAR(100) NULL AFTER `sql_rev`,
ADD PRIMARY KEY (`sql_rev`),
ENGINE=INNODB;
ALTER TABLE `version_db_characters` ADD CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_characters`(`sql_rev`);
@@ -0,0 +1,7 @@
-- uncomment and fix following line at next revision / updates archivation
-- ALTER TABLE auth_db_version CHANGE COLUMN xxxx_xx_xx_xx xxxx_xx_xx_xx bit;
--
-- Do not remove this file when we archive sql under this folder
-- it is needed for pending sql importer
--
@@ -0,0 +1,24 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_14_02 2016_08_19_00 BIT;
/*
Issue: Not work quest id 11543 #93
Missing SAI for the correct execution of quest
Create SAI for ending quest
*/
UPDATE creature_template SET AIName="SmartAI" WHERE entry IN (25090,25091,25092);
DELETE FROM smart_scripts WHERE entryorguid IN (25090,25091,25092) AND source_type=0;
INSERT INTO smart_scripts VALUES
(25090,0,0,0,8,0,100,0,45115,0,0,0,33,25090,0,0,0,0,0,7,0,0,0,0,0,0,0,"Sin'Loren - On spellhit 45115 - Kill Credit"),
(25091,0,0,0,8,0,100,0,45115,0,0,0,33,25091,0,0,0,0,0,7,0,0,0,0,0,0,0,"Bloodoath - On spellhit 45115 - Kill Credit"),
(25092,0,0,0,8,0,100,0,45115,0,0,0,33,25092,0,0,0,0,0,7,0,0,0,0,0,0,0,"Dawnchaser - On spellhit 45115 - Kill Credit");
/*
Backup for next DELETE query
INSERT INTO conditions VALUES
(15,9143,0,0,0,9,0,11542,0,0,0,0,0,,"Show gossip option if player has quest 11542 but not complete"),
(15,9143,0,0,1,9,0,11543,0,0,0,0,0,,"Show gossip option if player has quest 11543 but not complete");
*/
DELETE FROM conditions WHERE SourceTypeOrReferenceId=15 AND SourceGroup=9143;
@@ -0,0 +1,493 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_19_00 2016_08_21_00 bit;
INSERT IGNORE INTO `command` (`name`, `security`, `help`) VALUES
('achievement',2,'Syntax: .achievement $subcommand\nType .achievement to see the list of possible subcommands or .help achievement $subcommand to see info on subcommands'),
('achievement add',2,'Syntax: .achievement add $achievement\nAdd an achievement to the targeted player.\n$achievement: can be either achievement id or achievement link'),
('achievement checkall',3,''),
('additem',2,'Syntax: .additem #itemid/[#itemname]/#shift-click-item-link #itemcount\r\n\r\nAdds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\n.'),
('additemset',2,'Syntax: .additemset #itemsetid\r\n\r\nAdd items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.'),
('announce',2,'Syntax: .announce $MessageToBroadcast\r\n\r\nSend a global message to all players online in chat log.'),
('appear',1,'Syntax: .appear [$charactername]\r\n\r\nTeleport to the given character. Either specify the character name or click on the character\'s portrait,e.g. when you are in a group. Character can be offline.'),
('aura',2,'Syntax: .aura #spellid\r\n\r\nAdd the aura from spell #spellid to the selected Unit.'),
('ban',2,'Syntax: .ban $subcommand\nType .ban to see the list of possible subcommands or .help ban $subcommand to see info on subcommands'),
('ban account',2,'Syntax: .ban account $Name $bantime $reason\r\nBan account kick player.\r\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
('ban character',2,'Syntax: .ban character $Name $bantime $reason\nBan character and kick player.\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
('ban ip',2,'Syntax: .ban ip $Ip $bantime $reason\r\nBan IP.\r\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
('ban playeraccount',2,'Syntax: .ban playeraccount $Name $bantime $reason\nBan account and kick player.\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
('baninfo',2,'Syntax: .baninfo $subcommand\nType .baninfo to see the list of possible subcommands or .help baninfo $subcommand to see info on subcommands'),
('baninfo account',2,'Syntax: .baninfo account $accountid\r\nWatch full information about a specific ban.'),
('baninfo character',2,'Syntax: .baninfo character $charactername \r\nWatch full information about a specific ban.'),
('baninfo ip',2,'Syntax: .baninfo ip $ip\r\nWatch full information about a specific ban.'),
('banlist',2,'Syntax: .banlist $subcommand\nType .banlist to see the list of possible subcommands or .help banlist $subcommand to see info on subcommands'),
('banlist account',2,'Syntax: .banlist account [$Name]\r\nSearches the banlist for a account name pattern or show full list account bans.'),
('banlist character',2,'Syntax: .banlist character $Name\r\nSearches the banlist for a character name pattern. Pattern required.'),
('banlist ip',2,'Syntax: .banlist ip [$Ip]\r\nSearches the banlist for a IP pattern or show full list of IP bans.'),
('bf',3,''),
('bf enable',3,'Syntax: .bf enable #battleid'),
('bf start',3,'Syntax: .bf start #battleid'),
('bf stop',3,'Syntax: .bf stop #battleid'),
('bf switch',3,'Syntax: .bf switch #battleid'),
('bf timer',3,'Syntax: .bf timer #battleid #timer'),
('bindsight',3,'Syntax: .bindsight\r\n\r\nBinds vision to the selected unit indefinitely. Cannot be used while currently possessing a target.'),
('cast',2,'Syntax: .cast #spellid [triggered]\r\n Cast #spellid to selected target. If no target selected cast to self. If \'trigered\' or part provided then spell casted with triggered flag.'),
('cast back',2,'Syntax: .cast back #spellid [triggered]\r\n Selected target will cast #spellid to your character. If \'trigered\' or part provided then spell casted with triggered flag.'),
('cast dest',2,'Syntax: .cast dest #spellid #x #y #z [triggered]\r\n Selected target will cast #spellid at provided destination. If \'trigered\' or part provided then spell casted with triggered flag.'),
('cast dist',2,'Syntax: .cast dist #spellid [#dist [triggered]]\r\n You will cast spell to pint at distance #dist. If \'trigered\' or part provided then spell casted with triggered flag. Not all spells can be casted as area spells.'),
('cast self',2,'Syntax: .cast self #spellid [triggered]\r\nCast #spellid by target at target itself. If \'trigered\' or part provided then spell casted with triggered flag.'),
('cast target',2,'Syntax: .cast target #spellid [triggered]\r\n Selected target will cast #spellid to his victim. If \'trigered\' or part provided then spell casted with triggered flag.'),
('character changefaction',2,'Syntax: .character changefaction $name\r\n\r\nChange character faction.'),
('character changerace',2,'Syntax: .character changerace $name\r\n\r\nChange character race.'),
('character customize',2,'Syntax: .character customize [$name]\r\n\r\nMark selected in game or by $name in command character for customize at next login.'),
('character level',2,'Syntax: .character level [$playername] [#level]\r\n\r\nSet the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.'),
('character rename',2,'Syntax: .character rename [$name] [$newName] \n\nMark selected in game or by $name in command character for rename at next login.\n\nIf $newName then the player will be forced rename.'),
('character reputation',2,'Syntax: .character reputation [$player_name]\r\n\r\nShow reputation information for selected player or player find by $player_name.'),
('character titles',2,'Syntax: .character titles [$player_name]\r\n\r\nShow known titles list for selected player or player find by $player_name.'),
('combatstop',2,'Syntax: .combatstop [$playername]\r\nStop combat for selected character. If selected non-player then command applied to self. If $playername provided then attempt applied to online player $playername.'),
('cometome',5,'Syntax: .cometome $parameter\nMake selected creature come to your current location (new position not saved to DB).'),
('commands',0,'Syntax: .commands\r\n\r\nDisplay a list of available commands for your account level.'),
('cooldown',2,'Syntax: .cooldown [#spell_id]\r\n\r\nRemove all (if spell_id not provided) or #spel_id spell cooldown from selected character or you (if no selection).'),
('damage',2,'Syntax: .damage $damage_amount [$school [$spellid]]\r\n\r\nApply $damage to target. If not $school and $spellid provided then this flat clean melee damage without any modifiers. If $school provided then damage modified by armor reduction (if school physical), and target absorbing modifiers and result applied as melee damage to target. If spell provided then damage modified and applied as spell damage. $spellid can be shift-link.'),
('debug',2,'Syntax: .debug $subcommand\nType .debug to see the list of possible subcommands or .help debug $subcommand to see info on subcommands'),
('debug areatriggers',3,'Syntax: .debug areatriggers\nToggle debug mode for areatriggers. In debug mode GM will be notified if reaching an areatrigger'),
('debug arena',3,'Syntax: .debug arena\r\n\r\nToggle debug mode for arenas. In debug mode GM can start arena with single player.'),
('debug bg',3,'Syntax: .debug bg\r\n\r\nToggle debug mode for battlegrounds. In debug mode GM can start battleground with single player.'),
('debug Mod32Value',3,'Syntax: .debug Mod32Value #field #value\r\n\r\nAdd #value to field #field of your character.'),
('debug moveflags',3,'Syntax: .debug moveflags [$newMoveFlags [$newMoveFlags2]]\r\nNo params given will output the current moveflags of the target'),
('debug play cinematic',1,'Syntax: .debug play cinematic #cinematicid\r\n\r\nPlay cinematic #cinematicid for you. You stay at place while your mind fly.\r\n'),
('debug play movie',1,'Syntax: .debug play movie #movieid\r\n\r\nPlay movie #movieid for you.'),
('debug play sound',1,'Syntax: .debug play sound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
('debug send',3,''),
('debug send buyerror',3,''),
('debug send channelnotify',3,''),
('debug send chatmmessage',3,''),
('debug send equiperror',3,''),
('debug send largepacket',3,''),
('debug send opcode',3,''),
('debug send qinvalidmsg',3,''),
('debug send qpartymsg',3,''),
('debug send sellerror',3,''),
('debug send setphaseshift',3,''),
('debug send spellfail',3,''),
('debug setaurastate',3,''),
('debug setbit',3,''),
('debug setvalue',3,''),
('debug setvid',3,''),
('debug spawnvehicle',3,''),
('debug update',3,''),
('demorph',1,'Syntax: .demorph\r\n\r\nDemorph the selected player.'),
('dev',3,'Syntax: .dev [on/off]\r\n\r\nEnable or Disable in game Dev tag or show current state if on/off not provided.'),
('die',2,'Syntax: .die\r\n\r\nKill the selected player. If no player is selected, it will kill you.'),
('dismount',0,'Syntax: .dismount\r\n\r\nDismount you, if you are mounted.'),
('distance',3,'Syntax: .distance\r\n\r\nDisplay the distance from your character to the selected creature.'),
('event',2,'Syntax: .event #event_id\r\nShow details about event with #event_id.'),
('event activelist',2,'Syntax: .event activelist\r\nShow list of currently active events.'),
('event start',2,'Syntax: .event start #event_id\r\nStart event #event_id. Set start time for event to current moment (change not saved in DB).'),
('event stop',2,'Syntax: .event stop #event_id\r\nStop event #event_id. Set start time for event to time in past that make current moment is event stop time (change not saved in DB).'),
('flusharenapoints',3,'Syntax: .flusharenapoints\r\n\r\nUse it to distribute arena points based on arena team ratings, and start a new week.'),
('freeze',2,'Syntax: .freeze (#player)\r\n\"Freezes\" #player and disables his chat. When using this without #name it will freeze your target.'),
('gm',2,'Syntax: .gm [on/off]\r\n\r\nEnable or Disable in game GM MODE or show current state of on/off not provided.'),
('gm chat',2,'Syntax: .gm chat [on/off]\r\n\r\nEnable or disable chat GM MODE (show gm badge in messages) or show current state of on/off not provided.'),
('gm fly',2,'Syntax: .gm fly [on/off]\r\nEnable/disable gm fly mode.'),
('gm list',1,'Syntax: .gm list\r\n\r\nDisplay a list of all Game Masters accounts and security levels.'),
('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
('gmannounce',2,'Syntax: .gmannounce $announcement\r\nSend an announcement to online Gamemasters.'),
('gmnameannounce',2,'Syntax: .gmnameannounce $announcement.\r\nSend an announcement to all online GM\'s, displaying the name of the sender.'),
('gmnotify',2,'Syntax: .gmnotify $notification\r\nDisplays a notification on the screen of all online GM\'s.'),
('go',1,'Syntax: .go $subcommand\nType .go to see the list of possible subcommands or .help go $subcommand to see info on subcommands'),
('go creature',1,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
('go graveyard',1,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
('go taxinode',1,'Syntax: .go taxinode #taxinode\r\n\r\nTeleport player to taxinode coordinates. You can look up zone using .lookup taxinode $namepart'),
('go ticket',2,'Syntax: .go ticket #ticketid\r\nTeleports the user to the location where $ticketid was created.'),
('go trigger',1,'Syntax: .go trigger #trigger_id\r\n\r\nTeleport your character to areatrigger with id #trigger_id. Character will be teleported to trigger target if selected areatrigger is telporting trigger.'),
('go xyz',1,'Syntax: .go xyz #x #y [#z [#mapid [#orientation]]]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at map #mapid with orientation #orientation. If z is not provided, ground/water level will be used. If mapid is not provided, the current map will be used. If #orientation is not provided, the current orientation will be used.'),
('go zonexy',1,'Syntax: .go zonexy #x #y [#zone]\r\n\r\nTeleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart'),
('gobject',2,'Syntax: .gobject $subcommand\nType .gobject to see the list of possible subcommands or .help gobject $subcommand to see info on subcommands'),
('gobject activate',2,'Syntax: .gobject activate #guid\r\n\r\nActivates an object like a door or a button.'),
('gobject add',3,'Syntax: .gobject add #id <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nspawntimesecs sets the spawntime, it is optional.\r\n\r\nNote: this is a copy of .gameobject.'),
('gobject add temp',2,'Adds a temporary gameobject that is not saved to DB.'),
('gobject delete',3,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
('gobject info',1,'Syntax: .gobject info [$object_entry]\r \r Query Gameobject information for selected gameobject or given entry.'),
('gobject move',3,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
('gobject near',1,'Syntax: .gobject near [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
('gobject set phase',3,'Syntax: .gobject set phase #guid #phasemask\r\n\r\nGameobject with DB guid #guid phasemask changed to #phasemask with related world vision update for players. Gameobject state saved to DB and persistent.'),
('gobject target',1,'Syntax: .gobject target [#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
('gobject turn',3,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
('gps',1,'Syntax: .gps [$name|$shift-link]\r\n\r\nDisplay the position information for a selected character or creature (also if player name $name provided then for named player, or if creature/gameobject shift-link provided then pointed creature/gameobject if it loaded). Position information includes X, Y, Z, and orientation, map Id and zone Id'),
('group',2,'Syntax: .group $subcommand\nType .group to see the list of possible subcommands or .help group $subcommand to see info on subcommands'),
('group disband',2,'Syntax: .group disband [$characterName]\n\nDisbands the given character\'s group.'),
('group join',2,'Syntax: .group join $AnyCharacterNameFromGroup [$CharacterName] \r\nAdds to group of player $AnyCharacterNameFromGroup player $CharacterName (or selected).'),
('group leader',2,'Syntax: .group leader [$characterName]\n\nSets the given character as his group\'s leader.'),
('group list',2,'Syntax: .group list [$CharacterName] \r\nLists all the members of the group/party the player is in.'),
('group remove',2,'Syntax: .group remove [$characterName]\n\nRemoves the given character from his group.'),
('groupsummon',2,'Syntax: .groupsummon [$charactername]\r\n\r\nTeleport the given character and his group to you. Teleported only online characters but original selected group member can be offline.'),
('guid',2,'Syntax: .guid\r\n\r\nDisplay the GUID for the selected character.'),
('guild',2,'Syntax: .guild $subcommand\nType .guild to see the list of possible subcommands or .help guild $subcommand to see info on subcommands'),
('guild create',2,'Syntax: .guild create [$GuildLeaderName] \"$GuildName\"\r\n\r\nCreate a guild named $GuildName with the player $GuildLeaderName (or selected) as leader. Guild name must in quotes.'),
('guild delete',2,'Syntax: .guild delete \"$GuildName\"\r\n\r\nDelete guild $GuildName. Guild name must in quotes.'),
('guild invite',2,'Syntax: .guild invite [$CharacterName] \"$GuildName\"\r\n\r\nAdd player $CharacterName (or selected) into a guild $GuildName. Guild name must in quotes.'),
('guild rank',2,'Syntax: .guild rank [$CharacterName] #Rank\r\n\r\nSet for player $CharacterName (or selected) rank #Rank in a guild.'),
('guild uninvite',2,'Syntax: .guild uninvite [$CharacterName]\r\n\r\nRemove player $CharacterName (or selected) from a guild.'),
('help',0,'Syntax: .help [$command]\r\n\r\nDisplay usage instructions for the given $command. If no $command provided show list available commands.'),
('hidearea',3,'Syntax: .hidearea #areaid\r\n\r\nHide the area of #areaid to the selected character. If no character is selected, hide this area to you.'),
('honor',2,'Syntax: .honor $subcommand\nType .honor to see the list of possible subcommands or .help honor $subcommand to see info on subcommands'),
('honor add',2,'Syntax: .honor add $amount\r\n\r\nAdd a certain amount of honor (gained today) to the selected player.'),
('honor add kill',2,'Syntax: .honor add kill\r\n\r\nAdd the targeted unit as one of your pvp kills today (you only get honor if it\'s a racial leader or a player)'),
('honor update',2,'Syntax: .honor update\r\n\r\nForce the yesterday\'s honor fields to be updated with today\'s data, which will get reset for the selected player.'),
('instance',1,'Syntax: .instance $subcommand\nType .instance to see the list of possible subcommands or .help instance $subcommand to see info on subcommands'),
('instance getbossstate',1,'Syntax: .instance getbossstate $bossId [$Name]\r\nGets the current EncounterState for the provided boss id.\r\nIf no character name is provided, the current map will be used as target.'),
('instance listbinds',1,'Syntax: .instance listbinds\r\n Lists the binds of the selected player.'),
('instance savedata',3,'Syntax: .instance savedata\r\n Save the InstanceData for the current player\'s map to the DB.'),
('instance setbossstate',2,'Syntax: .instance setbossstate $bossId $encounterState [$Name]\r\nSets the EncounterState for the given boss id to a new value. EncounterStates range from 0 to 5.\r\nIf no character name is provided, the current map will be used as target.'),
('instance unbind',2,'Syntax: .instance unbind <mapid|all> [difficulty]\r\n Clear all/some of player\'s binds'),
('itemmove',2,'Syntax: .itemmove #sourceslotid #destinationslotid\r\n\r\nMove an item from slots #sourceslotid to #destinationslotid in your inventory\r\n\r\nNot yet implemented'),
('kick',2,'Syntax: .kick [$charactername] [$reason]\r\n\r\nKick the given character name from the world with or without reason. If no character name is provided then the selected player (except for yourself) will be kicked. If no reason is provided, default is \"No Reason\".'),
('learn',2,'Syntax: .learn #spell [all]\r\n\r\nSelected character learn a spell of id #spell. If \'all\' provided then all ranks learned.'),
('learn all',2,''),
('learn all crafts',2,'Syntax: .learn crafts\r\n\r\nLearn all professions and recipes.'),
('learn all default',2,'Syntax: .learn all default [$playername]\r\n\r\nLearn for selected/$playername player all default spells for his race/class and spells rewarded by completed quests.'),
('learn all gm',2,'Syntax: .learn all gm\r\n\r\nLearn all default spells for Game Masters.'),
('learn all lang',2,'Syntax: .learn all lang\r\n\r\nLearn all languages'),
('learn all my',2,''),
('learn all my class',2,'Syntax: .learn all my class\r\n\r\nLearn all spells and talents available for his class.'),
('learn all my pettalents',2,'Syntax: .learn all my pettalents\r\n\r\nLearn all talents for your pet available for his creature type (only for hunter pets).'),
('learn all my spells',2,'Syntax: .learn all my spells\r\n\r\nLearn all spells (except talents and spells with first rank learned as talent) available for his class.'),
('learn all my talents',2,'Syntax: .learn all my talents\r\n\r\nLearn all talents (and spells with first rank learned as talent) available for his class.'),
('learn all recipes',2,'Syntax: .learn all recipes [$profession]\r\rLearns all recipes of specified profession and sets skill level to max.\rExample: .learn all recipes enchanting'),
('levelup',2,'Syntax: .levelup [$playername] [#numberoflevels]\r\n\r\nIncrease/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.'),
('lfg',1,''),
('lfg clean',3,'Syntax: .flg clean\n Cleans current queue, only for debugging purposes.'),
('lfg group',1,'Syntax: .lfg group\n Shows information about all players in the group (state, roles, comment, dungeons selected).'),
('lfg options',2,'Syntax: .lfg options [new value]\n Shows current lfg options. New value is set if extra param is present.'),
('lfg player',1,'Syntax: .lfg player\n Shows information about player (state, roles, comment, dungeons selected).'),
('lfg queue',1,'Syntax: .lfg queue\n Shows info about current lfg queues.'),
('linkgrave',3,'Syntax: .linkgrave #graveyard_id [alliance|horde]\r\n\r\nLink current zone to graveyard for any (or alliance/horde faction ghosts). This let character ghost from zone teleport to graveyard after die if graveyard is nearest from linked to zone and accept ghost of this faction. Add only single graveyard at another map and only if no graveyards linked (or planned linked at same map).'),
('list',1,'Syntax: .list $subcommand\nType .list to see the list of possible subcommands or .help list $subcommand to see info on subcommands'),
('list auras',1,'Syntax: .list auras\nList auras (passive and active) of selected creature or player. If no creature or player is selected, list your own auras.'),
('list creature',1,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
('list item',1,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails, auctions, and guild banks. Output item guids, item owner guid, owner account and owner name (guild name and guid in case guild bank). Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
('list object',1,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
('lookup',1,'Syntax: .lookup $subcommand\nType .lookup to see the list of possible subcommands or .help lookup $subcommand to see info on subcommands'),
('lookup area',1,'Syntax: .lookup area $namepart\r\n\r\nLooks up an area by $namepart, and returns all matches with their area ID\'s.'),
('lookup creature',1,'Syntax: .lookup creature $namepart\r\n\r\nLooks up a creature by $namepart, and returns all matches with their creature ID\'s.'),
('lookup event',1,'Syntax: .lookup event $name\r\nAttempts to find the ID of the event with the provided $name.'),
('lookup faction',1,'Syntax: .lookup faction $name\r\nAttempts to find the ID of the faction with the provided $name.'),
('lookup item',1,'Syntax: .lookup item $itemname\r\n\r\nLooks up an item by $itemname, and returns all matches with their Item ID\'s.'),
('lookup itemset',1,'Syntax: .lookup itemset $itemname\r\n\r\nLooks up an item set by $itemname, and returns all matches with their Item set ID\'s.'),
('lookup map',1,'Syntax: .lookup map $namepart\r\n\r\nLooks up a map by $namepart, and returns all matches with their map ID\'s.'),
('lookup object',1,'Syntax: .lookup object $objname\r\n\r\nLooks up an gameobject by $objname, and returns all matches with their Gameobject ID\'s.'),
('lookup player',2,''),
('lookup player account',2,'Syntax: .lookup player account $account ($limit) \r\n\r\n Searchs players, which account username is $account with optional parametr $limit of results.'),
('lookup player email',2,'Syntax: .lookup player email $email ($limit) \r\n\r\n Searchs players, which account email is $email with optional parametr $limit of results.'),
('lookup player ip',2,'Syntax: .lookup player ip $ip ($limit) \r\n\r\n Searchs players, which account ast_ip is $ip with optional parametr $limit of results.'),
('lookup quest',1,'Syntax: .lookup quest $namepart\r\n\r\nLooks up a quest by $namepart, and returns all matches with their quest ID\'s.'),
('lookup skill',1,'Syntax: .lookup skill $$namepart\r\n\r\nLooks up a skill by $namepart, and returns all matches with their skill ID\'s.'),
('lookup spell',1,'Syntax: .lookup spell $namepart\r\n\r\nLooks up a spell by $namepart, and returns all matches with their spell ID\'s.'),
('lookup spell id',1,'Syntax: .lookup spell id #spellid\n\nLooks up a spell by #spellid, and returns the match with its spell name.'),
('lookup taxinode',1,'Syntax: .lookup taxinode $substring\r\n\r\nSearch and output all taxinodes with provide $substring in name.'),
('lookup tele',1,'Syntax: .lookup tele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.'),
('lookup title',1,'Syntax: .lookup title $$namepart\r\n\r\nLooks up a title by $namepart, and returns all matches with their title ID\'s and index\'s.'),
('maxskill',2,'Syntax: .maxskill\r\nSets all skills of the targeted player to their maximum values for its current level.'),
('modify',2,'Syntax: .modify $subcommand\nType .modify to see the list of possible subcommands or .help modify $subcommand to see info on subcommands'),
('modify arenapoints',2,'Syntax: .modify arenapoints #value\r\nAdd $amount arena points to the selected player.'),
('modify bit',2,'Syntax: .modify bit #field #bit\r\n\r\nToggle the #bit bit of the #field field for the selected player. If no player is selected, modify your character.'),
('modify drunk',2,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
('modify energy',2,'Syntax: .modify energy #energy\r\n\r\nModify the energy of the selected player. If no player is selected, modify your energy.'),
('modify faction',3,'Syntax: .modify faction #factionid #flagid #npcflagid #dynamicflagid\r\n\r\nModify the faction and flags of the selected creature. Without arguments, display the faction and flags of the selected creature.'),
('modify gender',2,'Syntax: .modify gender male/female\r\n\r\nChange gender of selected player.'),
('modify honor',2,'Syntax: .modify honor $amount\r\n\r\nAdd $amount honor points to the selected player.'),
('modify hp',2,'Syntax: .modify hp #newhp\r\n\r\nModify the hp of the selected player. If no player is selected, modify your hp.'),
('modify mana',2,'Syntax: .modify mana #newmana\r\n\r\nModify the mana of the selected player. If no player is selected, modify your mana.'),
('modify money',2,'Syntax: .modify money #money\r\n.money #money\r\n\r\nAdd or remove money to the selected player. If no player is selected, modify your money.\r\n\r\n #gold can be negative to remove money.'),
('modify mount',2,'Syntax: .modify mount #id #speed\r\nDisplay selected player as mounted at #id creature and set speed to #speed value.'),
('modify phase',2,'Syntax: .modify phase #phasemask\r\n\r\nSelected character phasemask changed to #phasemask with related world vision update. Change active until in game phase changed, or GM-mode enable/disable, or re-login. Character pts pasemask update to same value.'),
('modify rage',2,'Syntax: .modify rage #newrage\r\n\r\nModify the rage of the selected player. If no player is selected, modify your rage.'),
('modify reputation',2,'Syntax: .modify reputation #repId (#repvalue | $rankname [#delta])\nSets the selected players reputation with faction #repId to #repvalue or to $reprank.\nIf the reputation rank name is provided, the resulting reputation will be the lowest reputation for that rank plus the delta amount, if specified.\nYou can use \'.pinfo rep\' to list all known reputation ids, or use \'.lookup faction $name\' to locate a specific faction id.'),
('modify runicpower',2,'Syntax: .modify runicpower #newrunicpower\r\n\r\nModify the runic power of the selected player. If no player is selected, modify your runic power.'),
('modify scale',2,'.modify scale #scale\nModify size of the selected player or creature to \"normal scale\"*rate. If no player or creature is selected, modify your size.\n#rate may range from 0.1 to 10.'),
('modify speed',2,'Syntax: .modify speed $speedtype #rate\r\n\r\nModify the running speed of the selected player to \"normal base run speed\"= 1. If no player is selected, modify your speed.\r\n\r\n$speedtypes may be fly, all, walk, backwalk, or swim.\r\n\r\n #rate may range from 0.1 to 50.'),
('modify speed all',2,'Syntax: .modify aspeed #rate\r\n\r\nModify all speeds -run,swim,run back,swim back- of the selected player to \"normalbase speed for this move type\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
('modify speed backwalk',2,'Syntax: .modify speed backwalk #rate\r\n\r\nModify the speed of the selected player while running backwards to \"normal walk back speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
('modify speed fly',2,'.modify speed fly #rate\nModify the flying speed of the selected player to \"normal flying speed\"*rate. If no player is selected, modify your speed.\n #rate may range from 0.1 to 50.'),
('modify speed swim',2,'Syntax: .modify speed swim #rate\r\n\r\nModify the swim speed of the selected player to \"normal swim speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
('modify speed walk',2,'Syntax: .modify speed bwalk #rate\r\n\r\nModify the speed of the selected player while running to \"normal walk speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
('modify spell',5,'TODO'),
('modify standstate',2,'Syntax: .modify standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
('modify talentpoints',2,'Syntax: .modify talentpoints #amount\r\n\r\nSet free talent points for selected character or character\'s pet. It will be reset to default expected at next levelup/login/quest reward.'),
('morph',1,'Syntax: .morph #displayid\r\n\r\nChange your current model id to #displayid.'),
('movegens',3,'Syntax: .movegens\r\n Show movement generators stack for selected creature or player.'),
('mute',2,'Syntax: .mute [$playerName] $timeInMinutes [$reason]\r\n\r\nDisible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.'),
('nameannounce',2,'Syntax: .nameannounce $announcement.\nSend an announcement to all online players, displaying the name of the sender.'),
('neargrave',2,'Syntax: .neargrave [alliance|horde]\r\n\r\nFind nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).'),
('notify',2,'Syntax: .notify $MessageToBroadcast\r\n\r\nSend a global message to all players online in screen.'),
('npc',2,'Syntax: .npc $subcommand\nType .npc to see the list of possible subcommands or .help npc $subcommand to see info on subcommands'),
('npc add',3,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
('npc add formation',3,'Syntax: .npc add formation $leader\nAdd selected creature to a leader\'s formation.'),
('npc add item',3,'Syntax: .npc add item #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
('npc add move',3,'Syntax: .npc add move #creature_guid [#waittime]\r\n\r\nAdd your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.'),
('npc add temp',3,'Syntax: .npc add temp\r\n\r\nAdds temporary NPC, not saved to database.'),
('npc delete',3,'Syntax: .npc delete [#guid]\r\n\r\nDelete creature with guid #guid (or the selected if no guid is provided)'),
('npc delete item',3,'Syntax: .npc delete item #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
('npc follow',2,'Syntax: .npc follow start\r\n\r\nSelected creature start follow you until death/fight/etc.'),
('npc follow stop',2,'Syntax: .npc follow stop\r\n\r\nSelected creature (non pet) stop follow you.'),
('npc info',1,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
('npc move',3,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
('npc playemote',2,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
('npc say',2,'Syntax: .npc say $message\nMake selected creature say specified message.'),
('npc set allowmove',5,'Syntax: .npc set allowmove\r\n\r\nEnable or disable movement creatures in world. Not implemented.'),
('npc set data',3,'Syntax: .npc set data $field $data\nSets data for the selected creature. Used for testing Scripting'),
('npc set entry',3,'Syntax: .npc set entry $entry\nSwitch selected creature with another entry from creature_template. - New creature.id value not saved to DB.'),
('npc set factionid',3,'Syntax: .npc set factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
('npc set flag',3,'Syntax: .npc set flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
('npc set level',3,'Syntax: .npc set level #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to (CONFIG_MAX_PLAYER_LEVEL) + 3.'),
('npc set link',3,'Syntax: .npc set link $creatureGUID\r\n\r\nLinks respawn of selected creature to the condition that $creatureGUID defined is alive.'),
('npc set model',3,'Syntax: .npc set model #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
('npc set movetype',3,'Syntax: .npc set movetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'),
('npc set phase',3,'Syntax: .npc set phase #phasemask\r\n\r\nSelected unit or pet phasemask changed to #phasemask with related world vision update for players. In creature case state saved to DB and persistent. In pet case change active until in game phase changed for owner, owner re-login, or GM-mode enable/disable..'),
('npc set spawndist',3,'Syntax: .npc set spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
('npc set spawntime',3,'Syntax: .npc set spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
('npc textemote',2,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
('npc whisper',2,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
('npc yell',2,'Syntax: .npc yell $message\nMake selected creature yell specified message.'),
('pdump',3,'Syntax: .pdump $subcommand\nType .pdump to see the list of possible subcommands or .help pdump $subcommand to see info on subcommands'),
('pdump load',3,'Syntax: .pdump load $filename $account [$newname] [$newguid]\r\nLoad character dump from dump file into character list of $account with saved or $newname, with saved (or first free) or $newguid guid.'),
('pdump write',3,'Syntax: .pdump write $filename $playerNameOrGUID\r\nWrite character dump with name/guid $playerNameOrGUID to file $filename.'),
('pet',2,'Syntax: .pet $subcommand\nType .pet to see the list of possible subcommands or .help pet $subcommand to see info on subcommands'),
('pet create',2,'Syntax: .pet create\r\n\r\nCreates a pet of the selected creature.'),
('pet learn',2,'Syntax: .pet learn\r\n\r\nLearn #spellid to pet.'),
('pet unlearn',2,'Syntax: .pet unlean\r\n\r\nunLearn #spellid to pet.'),
('pinfo',2,'Syntax: .pinfo [$player_name/#GUID]\r\n\r\nOutput account information and guild information for selected player or player find by $player_name or #GUID.'),
('playall',2,'Syntax: .playall #soundid\r\n\r\nPlayer a sound to whole server.'),
('possess',2,'Syntax: .possess\r\n\r\nPossesses indefinitely the selected creature.'),
('quest',2,'Syntax: .quest $subcommand\nType .quest to see the list of possible subcommands or .help quest $subcommand to see info on subcommands'),
('quest add',2,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
('quest complete',2,'Syntax: .quest complete #questid\r\nMark all quest objectives as completed for target character active quest. After this target character can go and get quest reward.'),
('quest remove',2,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
('quest reward',2,'Syntax: .quest reward #questId\n\nGrants quest reward to selected player and removes quest from his log (quest must be in completed state).'),
('recall',2,'Syntax: .recall [$playername]\r\n\r\nTeleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.'),
('reload',3,'Syntax: .reload $subcommand\nType .reload to see the list of possible subcommands or .help reload $subcommand to see info on subcommands'),
('reload access_requirement',3,'Syntax: .reload access_requirement\nReload access_requirement table.'),
('reload achievement_criteria_data',3,'Syntax: .reload achievement_criteria_data\nReload achievement_criteria_data table.'),
('reload achievement_reward',3,'Syntax: .reload achievement_reward\nReload achievement_reward table.'),
('reload all',3,'Syntax: .reload all\r\n\r\nReload all tables with reload support added and that can be _safe_ reloaded.'),
('reload all achievement',3,'Syntax: .reload all achievement\r\n\r\nReload achievement_reward, achievement_criteria_data tables.'),
('reload all area',3,'Syntax: .reload all area\r\n\r\nReload areatrigger_teleport, areatrigger_tavern, game_graveyard_zone tables.'),
('reload all gossips',3,'Syntax: .reload all gossips\nReload gossip_menu, gossip_menu_option, gossip_scripts, points_of_interest tables.'),
('reload all item',3,'Syntax: .reload all item\nReload page_text, item_enchantment_table tables.'),
('reload all locales',3,'Syntax: .reload all locales\r\n\r\nReload all `locales_*` tables with reload support added and that can be _safe_ reloaded.'),
('reload all loot',3,'Syntax: .reload all loot\r\n\r\nReload all `*_loot_template` tables. This can be slow operation with lags for server run.'),
('reload all npc',3,'Syntax: .reload all npc\nReload npc_option, npc_trainer, npc vendor, points of interest tables.'),
('reload all quest',3,'Syntax: .reload all quest\r\n\r\nReload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.'),
('reload all scripts',3,'Syntax: .reload all scripts\nReload gameobject_scripts, event_scripts, quest_end_scripts, quest_start_scripts, spell_scripts, db_script_string, waypoint_scripts tables.'),
('reload all spell',3,'Syntax: .reload all spell\r\n\r\nReload all `spell_*` tables with reload support added and that can be _safe_ reloaded.'),
('reload areatrigger_involvedrelation',3,'Syntax: .reload areatrigger_involvedrelation\nReload areatrigger_involvedrelation table.'),
('reload areatrigger_tavern',3,'Syntax: .reload areatrigger_tavern\nReload areatrigger_tavern table.'),
('reload areatrigger_teleport',3,'Syntax: .reload areatrigger_teleport\nReload areatrigger_teleport table.'),
('reload auctions',3,'Syntax: .reload auctions\nReload dynamic data tables from the database.'),
('reload autobroadcast',3,'Syntax: .reload autobroadcast\nReload autobroadcast table.'),
('reload command',3,'Syntax: .reload command\nReload command table.'),
('reload conditions',3,'Reload conditions table.'),
('reload config',3,'Syntax: .reload config\r\n\r\nReload config settings (by default stored in trinityd.conf). Not all settings can be change at reload: some new setting values will be ignored until restart, some values will applied with delay or only to new objects/maps, some values will explicitly rejected to change at reload.'),
('reload creature_linked_respawn',3,'Syntax: .reload creature_linked_respawn\r\nReload creature_linked_respawn table.'),
('reload creature_loot_template',3,'Syntax: .reload creature_loot_template\nReload creature_loot_template table.'),
('reload creature_onkill_reputation',3,'Syntax: .reload creature_onkill_reputation\r\nReload creature_onkill_reputation table.'),
('reload creature_questender',3,'Syntax: .reload creature_questender\nReload creature_questender table.'),
('reload creature_queststarter',3,'Syntax: .reload creature_queststarter\nReload creature_queststarter table.'),
('reload creature_template',3,'Syntax: .reload creature_template $entry\r\nReload the specified creature\'s template.'),
('reload creature_text',3,'Syntax: .reload creature_text\r\nReload creature_text table.'),
('reload disables',3,'Syntax: .reload disables\r\nReload disables table.'),
('reload disenchant_loot_template',3,'Syntax: .reload disenchant_loot_template\nReload disenchant_loot_template table.'),
('reload event_scripts',3,'Syntax: .reload event_scripts\nReload event_scripts table.'),
('reload fishing_loot_template',3,'Syntax: .reload fishing_loot_template\nReload fishing_loot_template table.'),
('reload gameobject_loot_template',3,'Syntax: .reload gameobject_loot_template\nReload gameobject_loot_template table.'),
('reload gameobject_queststarter',3,'Syntax: .reload gameobject_queststarter\nReload gameobject_queststarter table.'),
('reload game_graveyard_zone',3,'Syntax: .reload game_graveyard_zone\nReload game_graveyard_zone table.'),
('reload game_tele',3,'Syntax: .reload game_tele\nReload game_tele table.'),
('reload gm_tickets',3,'Syntax: .reload gm_tickets\nReload gm_tickets table.'),
('reload gossip_menu',3,'Syntax: .reload gossip_menu\nReload gossip_menu table.'),
('reload gossip_menu_option',3,'Syntax: .reload gossip_menu_option\nReload gossip_menu_option table.'),
('reload item_enchantment_template',3,'Syntax: .reload item_enchantment_template\nReload item_enchantment_template table.'),
('reload item_loot_template',3,'Syntax: .reload item_loot_template\nReload item_loot_template table.'),
('reload item_set_names',3,'Syntax: .reload item_set_names\nReload item_set_names table.'),
('reload lfg_dungeon_rewards',3,'Syntax: .reload lfg_dungeon_rewards\nReload lfg_dungeon_rewards table.'),
('reload locales_creature',3,'Syntax: .reload locales_creature\nReload locales_creature table.'),
('reload locales_creature_text',3,'Syntax: .reload locales_creature_text\nReload locales_creature_text Table.'),
('reload locales_gameobject',3,'Syntax: .reload locales_gameobject\nReload locales_gameobject table.'),
('reload locales_gossip_menu_option',3,'Syntax: .reload locales_gossip_menu_option\nReload locales_gossip_menu_option table.'),
('reload locales_item',3,'Syntax: .reload locales_item\nReload locales_item table.'),
('reload locales_item_set_name',3,'Syntax: .reload locales_item_set_name\nReload locales_item_set_name table.'),
('reload locales_npc_text',3,'Syntax: .reload locales_npc_text\nReload locales_npc_text table.'),
('reload locales_page_text',3,'Syntax: .reload locales_page_text\nReload locales_page_text table.'),
('reload locales_points_of_interest',3,'Syntax: .reload locales_points_of_interest\nReload locales_point_of_interest table.'),
('reload locales_quest',3,'Syntax: .reload locales_quest\nReload locales_quest table.'),
('reload mail_level_reward',3,'Syntax: .reload mail_level_reward\nReload mail_level_reward table.'),
('reload mail_loot_template',3,'Syntax: .reload quest_mail_loot_template\nReload quest_mail_loot_template table.'),
('reload milling_loot_template',3,'Syntax: .reload milling_loot_template\nReload milling_loot_template table.'),
('reload npc_trainer',3,'Syntax: .reload npc_trainer\nReload npc_trainer table.'),
('reload npc_vendor',3,'Syntax: .reload npc_vendor\nReload npc_vendor table.'),
('reload page_text',3,'Syntax: .reload page_text\nReload page_text table.'),
('reload pickpocketing_loot_template',3,'Syntax: .reload pickpocketing_loot_template\nReload pickpocketing_loot_template table.'),
('reload points_of_interest',3,'Syntax: .reload points_of_interest\nReload points_of_interest table.'),
('reload prospecting_loot_template',3,'Syntax: .reload prospecting_loot_template\nReload prospecting_loot_template table.'),
('reload quest_poi',3,'Syntax: .reload quest_poi\nReload quest_poi table.'),
('reload quest_template',3,'Syntax: .reload quest_template\nReload quest_template table.'),
('reload reference_loot_template',3,'Syntax: .reload reference_loot_template\nReload reference_loot_template table.'),
('reload reserved_name',3,'Syntax: .reload reserved_name\nReload reserved_name table.'),
('reload skill_discovery_template',3,'Syntax: .reload skill_discovery_template\nReload skill_discovery_template table.'),
('reload skill_extra_item_template',3,'Syntax: .reload skill_extra_item_template\nReload skill_extra_item_template table.'),
('reload skill_fishing_base_level',3,'Syntax: .reload skill_fishing_base_level\nReload skill_fishing_base_level table.'),
('reload skinning_loot_template',3,'Syntax: .reload skinning_loot_template\nReload skinning_loot_template table.'),
('reload smart_scripts',3,'Syntax: .reload smart_scripts\nReload smart_scripts table.'),
('reload spell_area',3,'Syntax: .reload spell_area\nReload spell_area table.'),
('reload spell_bonus_data',3,'Syntax: .reload spell_bonus_data\nReload spell_bonus_data table.'),
('reload spell_group',3,'Syntax: .reload spell_group\nReload spell_group table.'),
('reload spell_group_stack_rules',3,'Syntax: .reload spell_group\nReload spell_group_stack_rules table.'),
('reload spell_linked_spell',3,'Usage: .reload spell_linked_spell\r\nReloads the spell_linked_spell DB table.'),
('reload spell_loot_template',3,'Syntax: .reload spell_loot_template\nReload spell_loot_template table.'),
('reload spell_pet_auras',3,'Syntax: .reload spell_pet_auras\nReload spell_pet_auras table.'),
('reload spell_proc',3,'Syntax: .reload spell_proc\nReload spell_proc table.'),
('reload spell_proc_event',3,'Syntax: .reload spell_proc_event\nReload spell_proc_event table.'),
('reload spell_required',3,'Syntax: .reload spell_required\nReload spell_required table.'),
('reload spell_scripts',3,'Syntax: .reload spell_scripts\nReload spell_scripts table.'),
('reload spell_target_position',3,'Syntax: .reload spell_target_position\nReload spell_target_position table.'),
('reload spell_threats',3,'Syntax: .reload spell_threats\nReload spell_threats table.'),
('reload trinity_string',3,'Syntax: .reload trinity_string\nReload trinity_string table.'),
('reload vehicle_accessory',3,'Syntax: .reload vehicle_accessory\n\nReloads GUID-based vehicle accessory definitions from the database.'),
('reload vehicle_template_accessory',3,'Syntax: .reload vehicle_template_accessory\n\nReloads entry-based vehicle accessory definitions from the database.'),
('reload waypoint_data',3,'Syntax: .reload waypoint_data will reload waypoint_data table.'),
('reload waypoint_scripts',3,'Syntax: .reload waypoint_scripts\nReload waypoint_scripts table.'),
('repairitems',2,'Syntax: .repairitems\r\n\r\nRepair all selected player\'s items.'),
('reset',3,'Syntax: .reset $subcommand\nType .reset to see the list of possible subcommands or .help reset $subcommand to see info on subcommands'),
('reset achievements',4,'Syntax: .reset achievements [$playername]\r\n\r\nReset achievements data for selected or named (online or offline) character. Achievements for persistance progress data like completed quests/etc re-filled at reset. Achievements for events like kills/casts/etc will lost.'),
('reset all',4,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents (including talents for all character\'s pets if any) at next login each existed character.'),
('reset honor',3,'Syntax: .reset honor [Playername]\r\n Reset all honor data for targeted character.'),
('reset level',3,'Syntax: .reset level [Playername]\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.'),
('reset spells',3,'Syntax: .reset spells [Playername]\r\n Removes all non-original spells from spellbook.\r\n. Playername can be name of offline character.'),
('reset stats',3,'Syntax: .reset stats [Playername]\r\n Resets(recalculate) all stats of the targeted player to their original VALUESat current level.'),
('reset talents',3,'Syntax: .reset talents [Playername]\r\n Removes all talents of the targeted player or pet or named player. Playername can be name of offline character. With player talents also will be reset talents for all character\'s pets if any.'),
('respawn',2,'Syntax: .respawn\r\n\r\nRespawn all nearest creatures and GO without waiting respawn time expiration.'),
('revive',2,'Syntax: .revive\r\n\r\nRevive the selected player. If no player is selected, it will revive you.'),
('save',0,'Syntax: .save\r\n\r\nSaves your character.'),
('saveall',2,'Syntax: .saveall\r\n\r\nSave all characters in game.'),
('send items',2,'Syntax: .send items #playername \"#subject\" \"#text\" itemid1[:count1] itemid2[:count2] ... itemidN[:countN]\r\n\r\nSend a mail to a player. Subject and mail text must be in \"\". If for itemid not provided related count values then expected 1, if count > max items in stack then items will be send in required amount stacks. All stacks amount in mail limited to 12.'),
('send mail',2,'Syntax: .send mail #playername \"#subject\" \"#text\"\r\n\r\nSend a mail to a player. Subject and mail text must be in \"\".'),
('send message',3,'Syntax: .send message $playername $message\r\n\r\nSend screen message to player from ADMINISTRATOR.'),
('send money',2,'Syntax: .send money #playername \"#subject\" \"#text\" #money\r\n\r\nSend mail with money to a player. Subject and mail text must be in \"\".'),
('server',3,'Syntax: .server $subcommand\nType .server to see the list of possible subcommands or .help server $subcommand to see info on subcommands'),
('server corpses',2,'Syntax: .server corpses\r\n\r\nTriggering corpses expire check in world.'),
('server exit',4,'Syntax: .server exit\r\n\r\nTerminate trinity-core NOW. Exit code 0.'),
('server idlerestart',4,'Syntax: .server idlerestart #delay\r\n\r\nRestart the server after #delay seconds if no active connections are present (no players). Use #exist_code or 2 as program exist code.'),
('server idlerestart cancel',3,'Syntax: .server idlerestart cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
('server idleshutdown',4,'Syntax: .server idleshutdown #delay [#exist_code]\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players). Use #exist_code or 0 as program exist code.'),
('server idleshutdown cancel',3,'Syntax: .server idleshutdown cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
('server info',0,'Syntax: .server info\r\n\r\nDisplay server version and the number of connected players.'),
('server motd',0,'Syntax: .server motd\r\n\r\nShow server Message of the day.'),
('server restart',3,'Syntax: .server restart #delay\r\n\r\nRestart the server after #delay seconds. Use #exist_code or 2 as program exist code.'),
('server restart cancel',3,'Syntax: .server restart cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
('server set closed',4,'Syntax: server set closed on/off\r\n\r\nSets whether the world accepts new client connectsions.'),
('server set loglevel',4,'Syntax: .server set loglevel $facility $name $loglevel. $facility can take the values: appender (a) or logger (l). $loglevel can take the values: disabled (0), trace (1), debug (2), info (3), warn (4), error (5) or fatal (6)'),
('server set motd',3,'Syntax: .server set motd $MOTD\r\n\r\nSet server Message of the day.'),
('server shutdown',3,'Syntax: .server shutdown #delay [#exit_code]\r\n\r\nShut the server down after #delay seconds. Use #exit_code or 0 as program exit code.'),
('server shutdown cancel',3,'Syntax: .server shutdown cancel\r\n\r\nCancel the restart/shutdown timer if any.'),
('server togglequerylog',4,''),
('setskill',2,'Syntax: .setskill #skill #level [#max]\r\n\r\nSet a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.'),
('showarea',2,'Syntax: .showarea #areaid\r\n\r\nReveal the area of #areaid to the selected character. If no character is selected, reveal this area to you.'),
('skirmish',3,''),
('spect',0,''),
('spect leave',0,''),
('spect reset',0,''),
('spect spectate',0,''),
('spect version',0,''),
('spect watch',0,''),
('summon',2,'Syntax: .summon [$charactername]\r\n\r\nTeleport the given character to you. Character can be offline.'),
('tele',1,'Syntax: .tele #location\r\n\r\nTeleport player to a given location.'),
('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
('tele group',2,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
('tele name',2,'Syntax: .tele name [#playername] #location\n\nTeleport the given character to a given location. Character can be offline.\n\nTo teleport to homebind, set #location to \"$home\" (without quotes).'),
('ticket',2,'Syntax: .ticket $subcommand\nType .ticket to see the list of possible subcommands or .help ticket $subcommand to see info on subcommands'),
('ticket assign',2,'Usage: .ticket assign $ticketid $gmname.\r\nAssigns the specified ticket to the specified Game Master.'),
('ticket close',2,'Usage: .ticket close $ticketid.\r\nCloses the specified ticket. Does not delete permanently.'),
('ticket closedlist',2,'Displays a list of closed GM tickets.'),
('ticket comment',2,'Usage: .ticket comment $ticketid $comment.\r\nAllows the adding or modifying of a comment to the specified ticket.'),
('ticket delete',3,'Usage: .ticket delete $ticketid.\r\nDeletes the specified ticket permanently. Ticket must be closed first.'),
('ticket list',2,'Displays a list of open GM tickets.'),
('ticket onlinelist',2,'Displays a list of open GM tickets whose owner is online.'),
('ticket reset',4,'Syntax: .ticket reset\nRemoves all closed tickets and resets the counter, if no pending open tickets are existing.'),
('ticket unassign',2,'Usage: .ticket unassign $ticketid.\r\nUnassigns the specified ticket from the current assigned Game Master.'),
('ticket viewid',2,'Usage: .ticket viewid $ticketid.\r\nReturns details about specified ticket. Ticket must be open and not deleted.'),
('ticket viewname',2,'Usage: .ticket viewname $creatorname. \r\nReturns details about specified ticket. Ticket must be open and not deleted.'),
('titles add',2,'Syntax: .titles add #title\r\nAdd title #title (id or shift-link) to known titles list for selected player.'),
('titles current',2,'Syntax: .titles current #title\r\nSet title #title (id or shift-link) as current selected titl for selected player. If title not in known title list for player then it will be added to list.'),
('titles remove',2,'Syntax: .titles remove #title\r\nRemove title #title (id or shift-link) from known titles list for selected player.'),
('titles set mask',2,'Syntax: .titles set mask #mask\r\n\r\nAllows user to use all titles from #mask.\r\n\r\n #mask=0 disables the title-choose-field'),
('unaura',2,'Syntax: .unaura #spellid\r\n\r\nRemove aura due to spell #spellid from the selected Unit.'),
('unban',2,'Syntax: .unban $subcommand\nType .unban to see the list of possible subcommands or .help unban $subcommand to see info on subcommands'),
('unban account',2,'Syntax: .unban account $Name\r\nUnban accounts for account name pattern.'),
('unban character',2,'Syntax: .unban character $Name\r\nUnban accounts for character name pattern.'),
('unban ip',2,'Syntax : .unban ip $Ip\r\nUnban accounts for IP pattern.'),
('unban playeraccount',4,''),
('unbindsight',3,'Syntax: .unbindsight\r\n\r\nRemoves bound vision. Cannot be used while currently possessing a target.'),
('unfreeze',2,'Syntax: .unfreeze (#player)\r\n\"Unfreezes\" #player and enables his chat again. When using this without #name it will unfreeze your target.'),
('unlearn',2,'Syntax: .unlearn #spell [all]\r\n\r\nUnlearn for selected player a spell #spell. If \'all\' provided then all ranks unlearned.'),
('unmute',2,'Syntax: .unmute [$playerName]\r\n\r\nRestore chat messaging for any character from account of character $playerName (or selected). Character can be ofline.'),
('unpossess',2,'Syntax: .unpossess\r\n\r\nIf you are possessed, unpossesses yourself; otherwise unpossesses current possessed target.'),
('unstuck',2,'Syntax: .unstuck $playername [inn/graveyard/startzone]\n\nTeleports specified player to specified location. Default location is player\'s current hearth location.'),
('wchange',3,'Syntax: .wchange #weathertype #status\r\n\r\nSet current weather to #weathertype with an intensity of #status.\r\n\r\n#weathertype can be 1 for rain, 2 for snow, and 3 for sand. #status can be 0 for disabled, and 1 for enabled.'),
('whispers',1,'Syntax: .whispers on|off\r\nEnable/disable accepting whispers by GM from players. By default use trinityd.conf setting.'),
('wp add',3,'Syntax: .wp add\r\n\r\nAdd a waypoint for the selected creature at your current position.'),
('wp event',3,'Syntax: .wp event $subcommand\nType .path event to see the list of possible subcommands or .help path event $subcommand to see info on subcommands.'),
('wp load',3,'Syntax: .wp load $pathid\nLoad pathid number for selected creature. Creature must have no waypoint data.'),
('wp reload',3,'Syntax: .wp reload $pathid\nLoad path changes ingame - IMPORTANT: must be applied first for new paths before .wp load #pathid '),
('wp show',3,'Syntax: .wp show $option\nOptions:\non $pathid (or selected creature with loaded path) - Show path\noff - Hide path\ninfo $slected_waypoint - Show info for selected waypoint.'),
('wp unload',3,'Syntax: .wp unload\nUnload path for selected creature.'),
('wpgps',4,'Syntax: .wpgps\n\nOutput current position to sql developer log as partial SQL query to be used in pathing'),
('account create',4,'Syntax: .account create $account $password\r\n\r\nCreate account and set password to it.'),
('account delete',4,'Syntax: .account delete $account\r\n\r\nDelete account with all characters.'),
('account onlinelist',4,'Syntax: .account onlinelist\r\n\r\nShow list of online accounts.'),
('account password',0,'Syntax: .account password $old_password $new_password $new_password [$email]\r\n\r\nChange your account password. You may need to check the actual security mode to see if email input is necessary.'),
('account set addon',2,'Syntax: .account set addon [$account] #addon\r\n\r\nSet user (possible targeted) expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.'),
('account set gmlevel',4,'Syntax: .account set gmlevel [$account] #level [#realmid]\r\n\r\nSet the security level for targeted player (can\'t be used at self) or for account $name to a level of #level on the realm #realmID.\r\n\r\n#level may range from 0 to 3.\r\n\r\n#reamID may be -1 for all realms.'),
('account set password',4,'Syntax: .account set password $account $password $password\r\n\r\nSet password for account.'),
('account set',2,'Syntax: .account set $subcommand\nType .account set to see the list of possible subcommands or .help account set $subcommand to see info on subcommands'),
('account',0,'Syntax: .account\r\n\r\nDisplay the access level of your account and the email adress if you possess the necessary permissions.'),
('gm ingame',5,'Syntax: .gm ingame\r\n\r\nDisplay a list of available in game Game Masters.'),
('account addon',1,'Syntax: .account addon #addon\nSet expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.'),
('mailbox',1,'Syntax: .mailbox\r\n\r\nShow your mailbox content.'),
('reload gameobject_questender',3,'Syntax: .reload gameobject_questender\\nReload gameobject_questender table.'),
('npc evade',2,'Syntax: .npc evade [reason] [force]\nMakes the targeted NPC enter evade mode.\nDefaults to specifying EVADE_REASON_OTHER, override this by providing the reason string (ex.: .npc evade EVADE_REASON_BOUNDARY).\nSpecify \'force\' to clear any pre-existing evade state before evading - this may cause weirdness, use at your own risk.'),
('account lock',0,'Syntax: .account lock [on|off]\n\n Allow login from account only from current used IP or remove this requirement.'),
('character',2,'Syntax: character $subcommand\n Type .character to see a list of possible subcommands\n or .help character $subcommand to see info on the subcommand.'),
('debug anim',5,'TODO'),
('debug entervehicle',3,'Syntax: '),
('debug getitemstate',3,'Syntax: '),
('debug getitemvalue',3,'Syntax: '),
('debug getvalue',3,'Syntax: '),
('debug hostil',1,'Syntax: '),
('debug itemexpire',3,'Syntax: '),
('debug lootrecipient',3,'Syntax: '),
('debug los',3,'Syntax: '),
('debug play',1,'Syntax: '),
('debug send chatmessage',3,'Syntax: '),
('debug setitemvalue',3,'Syntax: '),
('debug threat',3,'Syntax: '),
('debug uws',3,'Syntax: '),
('gobject set',3,'Syntax: '),
('gobject set state',3,'Syntax: '),
('send',2,'Syntax: send $subcommand\n Type .send to see a list of possible subcommands\n or .help send $subcommand to see info on the subcommand.'),
('npc set',3,'Syntax: '),
('npc near',2,'Syntax: '),
('npc tame',2,'Syntax: '),
('reload npc_spellclick_spells',3,'Syntax: '),
('ticket complete',2,'Syntax: '),
('ticket escalate',2,'Syntax: '),
('ticket escalatedlist',2,'Syntax: '),
('ticket response',2,'Syntax: '),
('ticket response append',2,'Syntax: '),
('ticket response appendln',2,'Syntax: '),
('ticket togglesystem',3,'Syntax: '),
('titles',2,'Syntax: '),
('titles set',2,'Syntax: '),
('wp',3,'Syntax: wp $subcommand\n Type .wp to see a list of possible subcommands\n or .help wp $subcommand to see info on the subcommand.'),
('wp modify',3,'Syntax: ');
@@ -0,0 +1,30 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_21_00 2016_08_24_00 bit;
-- Insert MovementType to Fizzle Darkstorm (GUID = 6455) and Burning Blade Fanatic (GUID = 6432) npc
DELETE FROM `waypoint_data` WHERE `id` IN (645500,643200);
-- Fizzle Darkstorm
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
('645500', '1', '870.331', '-4202.85', '-14.0742', '0', '45000', '0', '0', '100', '0'),
('645500', '2', '869.751', '-4190.07', '-14.1105', '0', '45000', '0', '0', '100', '0'),
-- Burning Blade Fanatic
('643200', '1', '843.944', '-4207.75', '-9.11563', '0', '0', '0', '0', '100', '0'),
('643200', '2', '855.389', '-4212.85', '-9.99841', '0', '0', '0', '0', '100', '0'),
('643200', '3', '867.336', '-4204.73', '-13.9766', '0', '0', '0', '0', '100', '0'),
('643200', '4', '879.138', '-4186.37', '-13.9981', '0', '0', '0', '0', '100', '0'),
('643200', '5', '898.795', '-4170.9', '-9.24759', '0', '0', '0', '0', '100', '0'),
('643200', '6', '894.318', '-4165.13', '-9.10758', '0', '0', '0', '0', '100', '0'),
('643200', '7', '881.809', '-4167.77', '-13.8924', '0', '0', '0', '0', '100', '0'),
('643200', '8', '864.355', '-4183.45', '-14.0399', '0', '0', '0', '0', '100', '0'),
('643200', '9', '847.975', '-4191.54', '-10.0094', '0', '0', '0', '0', '100', '0'),
('643200', '10', '847.094', '-4194.71', '-9.9878', '0', '0', '0', '0', '100', '0');
-- Fizzle Darkstorm
UPDATE `creature_addon` SET `path_id`='645500' WHERE `guid`='6455';
UPDATE `creature` SET `MovementType`='2' WHERE `guid`='6455';
-- Burning Blade Fanatic
DELETE FROM `creature_addon` WHERE `guid` = 6432;
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES ('6432', '643200', '0', '0', '0', '0', '0');
UPDATE `creature` SET `MovementType`='2' WHERE `guid`='6432';
@@ -0,0 +1,3 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_24_00 2016_08_24_01 bit;
UPDATE command SET security = 0 WHERE name = 'gm ingame';
@@ -0,0 +1,12 @@
ALTER TABLE world_db_version CHANGE COLUMN 2016_08_24_01 2016_08_25_00 bit;
RENAME TABLE `world_db_version` TO `version_db_world`;
ALTER TABLE `version_db_world`
ADD COLUMN `sql_rev` VARCHAR(100) NOT NULL FIRST,
ADD COLUMN `required_rev` VARCHAR(100) NULL AFTER `sql_rev`,
ADD PRIMARY KEY (`sql_rev`),
ENGINE=INNODB;
ALTER TABLE `version_db_world` ADD CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_world`(`sql_rev`);

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