Compare commits

...

1060 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 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
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 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
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
4192 changed files with 754191 additions and 37496 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
+18 -8
View File
@@ -4,15 +4,23 @@
conf/*
!conf/*.dist
apps/drassil/*
env/dist/*
env/user/*
modules/*
!modules/drassil/*
modules/drassil/joiner
!modules/hw-core
!modules/acore
!modules/worldengine
!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
@@ -36,7 +44,7 @@ CMakeLists.txt.user
*.LOCAL.*
#
# IDE & other softwares
# IDE & other software
#
/.settings/
/.externalToolBuilders/*
@@ -46,6 +54,8 @@ nbproject/
*.kate-swp
.browse.VC*
.vscode
.idea
cmake-build-debug/*
#
# Eclipse
+74 -24
View File
@@ -1,36 +1,86 @@
sudo: required
dist: trusty
dist: xenial # (16.04)
# bionic (18.04) is not yet available in travis
language: cpp
compiler:
- clang
cache: ccache
addons:
apt:
update: true
services:
- mysql
git:
depth: 1
matrix:
include:
- os: linux
addons:
apt:
packages:
- clang-3.8
env:
- CCOMPILERC="clang-3.8"
- CCOMPILERCXX="clang++-3.8"
- os: linux
addons:
apt:
sources:
- llvm-toolchain-xenial-7
packages:
- clang-7
env:
- CCOMPILERC="clang-7"
- CCOMPILERCXX="clang++-7"
before_install:
- sudo apt-get -qq install build-essential libtool make cmake cmake-data openssl
- sudo apt-get -qq install libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libace-dev
- sudo apt-get -qq install mysql-server
- git config user.email "travis@build.bot" && git config user.name "Travis CI"
- git tag -a -m "Travis build" init
- 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:
- mysql -uroot -e 'create database test_mysql;'
- cd bin
- cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=0 -DSCRIPTS=1 -DSERVERS=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=check_install
- cd ..
# 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:
- $CXX --version
- mysql -uroot < data/sql/create/create_mysql.sql
- cat data/sql/base/db_auth/*.sql | mysql -uacore -pacore auth
- cat data/sql/base/db_characters/*.sql | mysql -uacore -pacore characters
- cat data/sql/base/db_world/*.sql | mysql -uacore -pacore world
- cat data/sql/updates/db_auth/*.sql | mysql -uacore -pacore auth
- cat data/sql/updates/db_characters/*.sql | mysql -uacore -pacore characters
- cat data/sql/updates/db_world/*.sql | mysql -uacore -pacore world
- mysql -uroot < data/sql/create/drop_mysql.sql
- cd bin
- make -j 8 -k && make install
- cd check_install/bin
# 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
+33 -21
View File
@@ -28,13 +28,13 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH 1)
set(AC_PATH_ROOT "${CMAKE_SOURCE_DIR}")
# set macro-directory
set(CMAKE_MODULE_PATH "${AC_PATH_ROOT}/modules/worldengine/nucleus/src/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)
@@ -42,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
@@ -60,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)
@@ -75,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)
@@ -92,31 +119,16 @@ include(src/cmake/showoptions.cmake)
# Loading framework
#
add_subdirectory(modules/worldengine/deps)
add_subdirectory(deps)
if( SERVERS OR TOOLS)
add_subdirectory(modules/worldengine/nucleus)
add_subdirectory(modules/worldengine/lib-collision)
add_subdirectory(modules/acore/game-framework)
add_subdirectory(src/common)
endif()
if( TOOLS )
add_subdirectory(modules/acore/extractors)
add_subdirectory(src/tools)
endif()
#
# Loading dyn modules
#
# 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 application sources
+25 -4
View File
@@ -1,6 +1,9 @@
# ![logo](https://raw.githubusercontent.com/azerothcore/azerothcore.github.io/master/images/logo-github.png) 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) [![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=40032087)](https://www.bountysource.com/teams/azerothcore/bounties) [![Master Build Status](https://travis-ci.org/azerothcore/azerothcore-wotlk.svg)](https://travis-ci.org/azerothcore/azerothcore-wotlk) [![Issue Stats](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk/badge/issue)](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk) [![Issue Stats](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk/badge/pr)](http://www.issuestats.com/github/AzerothCore/azerothcore-wotlk)
[![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 )
## 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,17 +22,26 @@ 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)
@@ -39,3 +53,10 @@ This project is brought to you thanks to:
## 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,15 +1,3 @@
# force default language for applications
LC_ALL=C
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"
function registerHooks() { hwc_event_register_hooks "$@"; }
function runHooks() { hwc_event_run_hooks "$@"; }
@@ -17,6 +5,8 @@ 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
#
@@ -29,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,8 +10,7 @@ fi
function ac_on_after_build() {
# move the run engine
mkdir -p "$INSTALL_PATH/bin/"
cp -rvf "$AC_PATH_MODULES/acore/startup-scripts/"* "$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
+9 -2
View File
@@ -2,12 +2,19 @@
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[@]}
+7 -2
View File
@@ -63,6 +63,10 @@ function import() {
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";
@@ -75,9 +79,11 @@ function import() {
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";
@@ -85,8 +91,7 @@ function import() {
echo "$endTransaction" >> "$newFile";
if [[ $isRev -eq 1 ]]; then
echo "END;" >> "$newFile";
echo "//" >> "$newFile";
echo "END //" >> "$newFile";
echo "DELIMITER ;" >> "$newFile";
echo "CALL updateDb();" >> "$newFile";
echo "DROP PROCEDURE IF EXISTS \`updateDb\`;" >> "$newFile";
+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
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
$PATH_RUNENGINE=""
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
$PATH_RUNENGINE=""
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
$PATH_RUNENGINE=""
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
$PATH_RUNENGINE=""
PATH_RUNENGINE="./"
source $PATH_RUNENGINE/run-engine
@@ -5,6 +5,16 @@ 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"
@@ -100,3 +110,4 @@ function restarter() {
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
+3 -3
View File
@@ -4,9 +4,9 @@ GDB_FILE="$2"
CONFIG="$3"
SYSLOG="$4"
SYSERR="$5"
GBD_ENABLED="$6"
GDB_ENABLED="$6"
if [ $GBD_ENABLED -eq 1 ]; then
if [ $GDB_ENABLED -eq 1 ]; then
echo "set logging on" > "$GDB_FILE"
echo "set debug timestamp" >> "$GDB_FILE"
echo "run -c $3" >> "$GDB_FILE"
@@ -22,6 +22,6 @@ if [ $GBD_ENABLED -eq 1 ]; then
gdb -x $GDB_FILE --batch $1 > >(tee ${SYSLOG}) 2> >(tee ${SYSERR} >&2)
fi
elif [ $GBD_ENABLED -eq 0 ]; then
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 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 1
-5
View File
@@ -1,5 +0,0 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 2
-5
View File
@@ -1,5 +0,0 @@
#!/usr/bin/env bash
CURRENT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash "$CURRENT_PATH/compiler.sh" 3
-44
View File
@@ -1,44 +0,0 @@
#!/usr/bin/env 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
-14
View File
@@ -1,14 +0,0 @@
# 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"
-193
View File
@@ -1,193 +0,0 @@
#!/usr/bin/env 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
MD5_CMD="md5sum"
reg_file="$OUTPUT_FOLDER/__db_assembler_registry"
if [ -f "$reg_file" ]; then
source "$reg_file"
fi
function 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"_UPDATE_PATHS"
v="$name[@]"
updates=("${!v}")
name='DB_'$uc'_CUSTOM_PATHS'
v="$name[@]"
custom=("${!v}")
suffix_base="_base"
suffix_upd="_update"
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"_"$curTime".sql"
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
file=$(basename "$entry")
hash=$($MD5_CMD "$entry")
hash="${hash%% *}" #remove file path
n="registry__$hash"
if [[ -z ${!n} ]]; then
if [ ! -e $updFile ]; then
echo "-- assembled updates" > $updFile
fi
printf -v "registry__${hash}" %s "$file"
echo "-- New update sql: "$file
echo "-- $file"
cat "$entry" >> $updFile
fi
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
if [[ ! -e $custFile ]]; then
echo "-- assembled custom" > "$custFile"
fi
echo "-- $file" >> $custFile
cat "$entry" >> $custFile
done
fi
done
fi
fi
}
function run() {
echo "===== STARTING PROCESS ====="
mkdir -p $OUTPUT_FOLDER
for db in ${DATABASES[@]}
do
assemble "$db" $version".sql" $1 $2 $3
done
echo "" > $reg_file
for k in ${!registry__*}
do
n=$k
echo "$k='${!n}';" >> "$reg_file"
done
echo "===== DONE ====="
}
PS3='Please enter your choice: '
options=("Create ALL" "Create only bases" "Create only updates" "Create only customs" "Clean registry" "Quit")
select opt in "${options[@]}"
do
case $opt in
"Create ALL")
run true true true
break #avoid loop
;;
"Create only bases")
run true false false
break #avoid loop
;;
"Create only updates")
run false true false
break #avoid loop
;;
"Create only customs")
run false false true
break #avoid loop
;;
"Clean registry")
rm "$reg_file"
break #avoid loop
;;
"Quit")
break
;;
*) echo invalid option;;
esac
done
+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)
+85 -37
View File
@@ -1,9 +1,16 @@
# 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/"
##############################################
#
@@ -12,16 +19,19 @@ CONFDIR="$AC_PATH_ROOT/build/etc/"
##############################################
# set preferred compilers
# 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++"
#CCOMPILERC="/usr/bin/gcc"
#CCOMPILERCXX="/usr/bin/g++"
# how many thread must be used for compilation ( leave zero to use all available )
MTHREADS=0
# enable/disable warnings during compilation
CWARNINGS=OFF
CWARNINGS=ON
# enable/disable some debug informations ( it's not a debug compilation )
CDEBUG=OFF
# specify compilation type
@@ -35,7 +45,14 @@ CTOOLS=OFF
# use precompiled headers ( fatest compilation but not optimized if you change headers often )
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=""
@@ -45,49 +62,67 @@ CCUSTOMOPTIONS=""
#
##############################################
#
# 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/db_characters"
)
DB_AUTH_PATHS=(
$SRCPATH"/data/sql/base/db_auth/"
)
DB_CHARACTERS_PATHS=(
$SRCPATH"/data/sql/base/db_characters"
)
DB_WORLD_PATHS=(
$SRCPATH"/data/sql/base/db_world/"
)
# UPDATES
DB_CHARACTERS_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/db_characters/"
)
DB_AUTH_UPDATE_PATHS=(
DB_AUTH_UPDATES_PATHS=(
$SRCPATH"/data/sql/updates/db_auth/"
$SRCPATH"/data/sql/updates/pending_db_auth/"
)
DB_WORLD_UPDATE_PATHS=(
DB_CHARACTERS_UPDATES_PATHS=(
$SRCPATH"/data/sql/updates/db_characters/"
$SRCPATH"/data/sql/updates/pending_db_characters/"
)
DB_WORLD_UPDATES_PATHS=(
$SRCPATH"/data/sql/updates/db_world/"
$SRCPATH"/data/sql/updates/pending_db_world/"
)
# CUSTOM
DB_CHARACTERS_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_characters/"
)
DB_AUTH_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_auth/"
)
DB_CHARACTERS_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_characters/"
)
DB_WORLD_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_world/"
)
@@ -98,27 +133,40 @@ DB_WORLD_CUSTOM_PATHS=(
#
##############################################
#
# 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_CHARACTERS_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
DB_AUTH_CONF="MYSQL_USER='acore'; \
MYSQL_PASS='acore'; \
MYSQL_HOST='127.0.0.1';\
"
DB_AUTH_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_WORLD_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
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_CHARACTERS_NAME="characters"
DB_AUTH_NAME="acore_auth"
DB_AUTH_NAME="auth"
DB_CHARACTERS_NAME="acore_characters"
DB_WORLD_NAME="world"
DB_WORLD_NAME="acore_world"
+11 -11
View File
@@ -20,7 +20,7 @@ CREATE TABLE `account`
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`failed_logins` int(10) unsigned NOT NULL DEFAULT '0',
`locked` tinyint(3) unsigned NOT NULL DEFAULT '0',
`last_login` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`last_login` TIMESTAMP NULL DEFAULT NULL,
`online` tinyint(3) unsigned NOT NULL DEFAULT '0',
`expansion` tinyint(3) unsigned NOT NULL DEFAULT '0',
`mutetime` bigint(20) NOT NULL DEFAULT '0',
@@ -37,16 +37,16 @@ CREATE TABLE `account`
LOCK TABLES `account` WRITE;
/*!40000 ALTER TABLE `account` DISABLE KEYS */;
INSERT INTO `account` VALUES
(1,'test1','047ce22643f9b0bd6baeb18d51bf1075a4d43fc6','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(2,'test2','10eb1ff16cf5380147e8281cd8080a210ecb3c53','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(3,'test3','e546bbf9ca93ae5291f0b441bb9ea2fa0c466176','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(4,'test4','61015d83b456a9c6a7defdff07f55265f24097af','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(5,'test5','dddeac4ffe5f286ec57b7a1ed63bf3a859debe1e','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(6,'test6','f1f94cdffd83c8c4182d66689077f92c807ab579','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(7,'test7','6fcd35c35b127be1d9ca040b2b478eb366506ce2','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(8,'test8','484332ccb02e284e4e0a04573c3fa417f4745fdf','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(9,'test9','4fce15ed251721f02754d5381ae9d0137b6a6a30','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0),
(10,'test10','b22d249228e84ab493b39a2bd765bee9b7c0b350','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,'0000-00-00 00:00:00',0,2,0,'','',0,'',0);
(1,'test1','047ce22643f9b0bd6baeb18d51bf1075a4d43fc6','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(2,'test2','10eb1ff16cf5380147e8281cd8080a210ecb3c53','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(3,'test3','e546bbf9ca93ae5291f0b441bb9ea2fa0c466176','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(4,'test4','61015d83b456a9c6a7defdff07f55265f24097af','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(5,'test5','dddeac4ffe5f286ec57b7a1ed63bf3a859debe1e','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(6,'test6','f1f94cdffd83c8c4182d66689077f92c807ab579','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(7,'test7','6fcd35c35b127be1d9ca040b2b478eb366506ce2','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(8,'test8','484332ccb02e284e4e0a04573c3fa417f4745fdf','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(9,'test9','4fce15ed251721f02754d5381ae9d0137b6a6a30','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0),
(10,'test10','b22d249228e84ab493b39a2bd765bee9b7c0b350','','','','','2016-01-30 21:09:43','127.0.0.1',0,0,NULL,0,2,0,'','',0,'',0);
/*!40000 ALTER TABLE `account` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

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