Commit Graph

295 Commits

Author SHA1 Message Date
Stoabrogga
dbfa66c698 fix(DB/Core): "Sons of Hodir" quests / areas (#2231) 2019-09-04 16:43:44 +02:00
Stoabrogga
e314a0c716 feat(Core/Player): Additional option for worldserver config parameter "InstantFlightPaths" (#2246) 2019-09-04 01:19:57 +02:00
Kargatum
22b360ee0d chore(Core/Player): Fix all apply item mods for scale (#2248) 2019-09-03 22:06:18 +07:00
Francesco Borzì
3a43e8c415 feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2019-09-02 13:54:10 +07:00
Kargatum
cae91f1650 fix (Core/Vehicle): delay position update in Vehicles, this may be deleted (#2247) 2019-09-01 23:03:51 +07:00
Viste
4effe04a5c chore(Core/AI): Convert the hardcoded variadic RAND functions into one C++11 variadic template version. (#2239) 2019-09-01 08:44:28 +02:00
Viste
bc1ad036a5 refactor(Core/Misc): Rewrite name handling functions that use raw buffers (#2230) 2019-08-26 21:12:19 +02:00
Francesco Borzì
0b88e24808 refactor(ItemTemplate): add missing enums + other minor improvements (#2236) 2019-08-26 20:43:53 +02:00
Kargatum
b1d102e04b feat(Core/BG): rewrite invite in bg (#2137)
Co-authored-by: mik1893 <michele.roscelli@gmail.com>
2019-08-20 23:58:15 +02:00
Francesco Borzì
cde07f89b9 fix: revert unwanted Spell changes (#2222)
- Partially reverts 7954a2a07e
2019-08-18 12:25:24 +02:00
mik1893
7954a2a07e Creature type flags (#2195)
fix(Core/Creature): refactoring creature type flags and adding CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES - closes #1984
2019-08-16 12:15:14 +01:00
Francesco Borzì
10105cab01 fix(Core/Deps): Update recastnavigation to last version (#2189)
Note: you need to re-extract the client data files, or download them from: https://github.com/wowgaming/client-data/releases/tag/v7
2019-08-13 19:08:35 +02:00
mik1893
2f9b700a3a fix(Core): Fix build - C3848 compile error (#2194) 2019-08-12 10:26:29 +02:00
Shard
82d53bf316 fix(Core/SpellInfo): Magmadar's Enrage dispel fix (#2146)
Putting the Magmadar's Enrage spell as a Buff to make it dispellable.
2019-08-10 11:06:52 +02:00
Poszer
ef377b9d9f fix(Core/Instance): Fix instance resetting exploit (#2172)
* fix(Core/Instance): Fix instance resetting exploit

- Fix issue with instance reset exploit

Co-Authored-By: Lee <talamortis@users.noreply.github.com>

* Added another check

Added a check to see if any players are in the current instance before teleporting the player to the entrance.
2019-08-06 16:06:44 +02:00
Kargatum
d40e894618 feat(Core/CFBG): Added support module mod-cfbg (#2064)
https://github.com/Winfidonarleyan/mod-cfbg - Original module
https://github.com/azerothcore/mod-cfbg - the fork in AC
2019-08-06 09:21:11 +07:00
Viste
0228c1ea03 feat(core/AI): implement DoCastSelf helper (#2179) 2019-08-05 13:36:05 +02:00
Stoabrogga
5e345742e6 fix(DB/Core): Throwing spells for Instructor Razuvious and Drakkari Battle Riders (#2109) 2019-08-04 23:44:36 +02:00
WiZZy
091e7c101e fix(Core/DB/Quest): Let Them Eat Crow (#1680) 2019-07-30 13:19:43 +02:00
Stoabrogga
8d4a694e82 fix(Core/SAI): fix parameters for action type "SMART_ACTION_UPDATE_TEMPLATE" (#2131) 2019-07-28 15:04:22 +02:00
Poszer
42fc4ded9e fix(Core/Achievements): Skill achievements (#2114)
- Correctly progress skill-learned achievements when learning new skill
2019-07-27 19:38:15 +02:00
Amin.MasterkinG
502d8fc14b Fix client game crash with invite player to invalid name for Channel. (#2087)
* Fix client game crash with invite player to invalid name for Channel.

7b8f294c02

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

* Change `#include <utf8.h>` to `#include "utf8.h"`
2019-07-26 15:25:10 +02:00
Poszer
d92dde4380 fix(Core/Spell): Flame Breath (Catapult) (#2115)
* fix(Core/Spell): Flame Breath (Catapult)

- Will fix issue with Wintergrasp Catapult Siege spell (Flame Breath).
- The SQL is added just in case, if someone already tried temp fix applying another spell.
https://github.com/azerothcore/azerothcore-wotlk/issues/1978#issuecomment-507880360
- Done, updated. Wintergrasp Demolisher - Spell Ram is fixed also
* Fix treating numeric values as string
2019-07-23 19:48:57 +02:00
ArashGorge
e2bae754ef fix(Core/Battleground): Warsong flags can be picked up while mounted (#2067)
* Fixed Mount Bug (https://github.com/azerothcore/azerothcore-wotlk/issues/2065)

* DisMount Player while Pickedup Flag
2019-07-20 02:39:13 +02:00
Stoabrogga
9579bf17d1 fix(DB/Core): Dragonflayer Strategist spell "Hurl Dagger" (#2060) 2019-07-19 09:58:07 +02:00
Brandon So
130bbe0d17 fix(Core): Online status of accounts (#2037) 2019-07-13 23:59:43 +02:00
Stoabrogga
c29c7bd968 feat(Core/Pool): improve pool manager (#2027)
Use "std::unordered_map" instead of "std::vector" in order to reduce memory usage (not much, perhaps 5-10%)
identify missing pool entries in pool_template via error messages in the server log
Concerning the pool entries I applied the following fixes as they would now cause errors:

Remove pool entry 5217 from pool_gameobject (only 1 game object "Saronite", not needed here)
Remove pool entry 1047 from pool_creature (only 1 creature "Hematos", not needed here)
Add a few missing Saronite nodes to pool_template
2019-07-10 02:28:56 +02:00
Barbz
ac8b20922b feat(Core): GUID recycler (#1820)
Automatically recycle GUIDs, thus avoiding crashes when reaching the
limit of data type "int" in MySQL.
2019-07-08 11:27:52 +02:00
Kargatum
a425de6a1f [CFBG module part 3] Core/BG: Rework functions, delete ASSERT's. (#2010) 2019-07-05 15:09:52 +07:00
Poszer
e14964c52b fix(Core/Wintergrasp): Leaving Wintergrasp with the minimap button (#2018) 2019-07-04 09:01:24 +02:00
Poszer
5086af8190 fix(Core/Wintergrasp): Spam msg's (#2040)
- Fix issue with wintergrasp spam msgs
2019-07-03 18:12:26 +02:00
Stoabrogga
765479798e feat(Core/SAI): improve SAI logging for missing creature text (#2023) 2019-06-29 16:13:31 +02:00
Nefertumm
2b37ea11a9 Fix(Core/DB): Naxxramas overhaul (#1657)
Co-authored-by: Pondaveia Pondaveia@users.noreply.github.com
Co-authored-by: FALL1N1 FALL1N1@users.noreply.github.com
2019-06-28 10:59:28 +02:00
Kargatum
e15a0c2189 feat(Core/Player): Added new functions for BGData (#2009) 2019-06-25 07:32:32 +07:00
Kargatum
782150ead3 feat(Core/Hooks): Added new BG hooks (#2008) 2019-06-25 07:31:19 +07:00
Francesco Borzì
031e0aed45 chore(core): fix indentation (#1983)
* chore(core): fix indentation

* chore: more indentation fix
2019-06-24 08:44:33 +02:00
Stoabrogga
8b862c91ca fix(Core/Spell): Target "TARGET_DEST_CHANNEL_TARGET" (#1979) 2019-06-18 15:41:59 +02:00
Francesco Borzì
7d13c66e5c fix(Core/BG): prevent potential crash in BG (#1931) 2019-06-17 11:14:29 +02:00
Stoabrogga
4f1be7533d fix(Core): check quest conditions on item equip (#1936) 2019-06-15 06:35:57 +02:00
Stoabrogga
5da61f1167 fix(DB/Core): Play "Lament of the Highborne" as music instead of sound (#1926)
* fix(DB/Core): Play "Lament of the Highborne" as music instead of sound

* Update ScriptedCreature.cpp

* Update rev_1559456042362460279.sql

* Update rev_1559456042362460279.sql

* Update rev_1559456042362460279.sql

* Update rev_1559456042362460279.sql
2019-06-14 07:51:29 +02:00
Poszer
97e65bd447 feat(Core/Player): PartyLevelReq invite settings (#1919)
- Minimum level at which players can invite to group setting
2019-06-09 09:03:18 +02:00
WiZZy
204160b121 feat(Core/Eluna): PLAYER_EVENT_ON_SPELL_CAST (#1624) 2019-06-07 23:39:09 +02:00
Poszer
dfdedd36bb fix(Core): Bag/Fishing pole equip (#1860)
* fix(Core): Bag/Fishing pole equip

- Fix bug When your bags are full and you equip a fishing pole, from 2x one handed weapon, it equip the fishing pole, than 1 weapon goes into bag and the other goes into the mailbox from "customer support".
-Do not allow equip 2 fishing poles for Warrior
2019-05-30 12:30:23 +02:00
Shard
0e08350b69 fix(Core/Spells): Shaman Reincarnation (#1844) 2019-05-28 14:29:31 +02:00
Pondaveia
e9770dbb33 Core/Spells: Fix wintergrasp spells yards (#1842)
Continuation of developer's work https://github.com/xDevICCI
2019-05-26 15:06:32 +02:00
sluggor
ded199dd7e fix(CORE): Low-level quests blue "!" instead of yellow w/ tracker (#1867)
Ensure low-level quests have blue exclamation marks when using tracker.
2019-05-25 01:28:06 +02:00
Pondaveia
ff7658ed40 fix(Core/Raid): Reworked Archimonde fight (#1691)
* Reworked Archimonde

* missing spell scripts on db

*  Travis?

* Thanks Nefertum

* Update rev_1554524766481187700.sql

* compact sql

* Update data/sql/updates/pending_db_world/rev_1554524766481187700.sql

Co-Authored-By: Pondaveia <43385840+Pondaveia@users.noreply.github.com>

* Update rev_1554524766481187700.sql

* Update boss_archimonde.cpp

* Resets

* Update boss_archimonde.cpp

* Update boss_archimonde.cpp

* Finger of death check improvement

Deku suggested adding this check instead: 
- me->IsWithinMeleeRange(unit)

* fix: remove unneeded if statement

* Possible targets list bug

Added a list for both Finger of death and Spell protections specifically. Also cleared the lists when needed to avoid possible bugs.

* comment typo

* Last touches

* Copy paste fail?

Removed waypoint reached function. No idea how it got there!

* Update boss_archimonde.cpp

* The meele check was too small

This check allows the tank to move the boss without getting snipped by finger of death

* Update boss_archimonde.cpp

* Initializing summonlist on constructor

* Update hyjal.h

* Update hyjal.h

* Changed Archimonde AI

Hyjal_trash AI to BossAI

* Removing hyjal_trashAI function

* Somehow the commit above didn't remove

* unused variable

* bool initialization on the constructor

bool Enraged;
bool BelowTenPercent;
bool HasProtected;
bool IsChanneling;

* HOLY SHIT TRAVIS
2019-05-23 09:28:59 -04:00
Poszer
1e19e666c6 fix(Core/Combat): Casters combat (#1839)
- Fix issue with caster not entering in combat (Example: Priest apply buff on mage, while mage in combat. Priest doesn't enter in combat)
2019-05-21 02:43:15 +02:00
Pondaveia
78b897f852 fix(Core/SAI) Add missing parameters for SMART_ACTION_MOVE_TO_POS (#1813)
* Imported changes from TC

Game/AI: Implement ContactDistance for ACTION_MOVE_TO_POS

* Contactdistance

* We don't have disablePathFinding

* Update src/server/game/AI/SmartScripts/SmartScript.cpp

Co-Authored-By: Pondaveia <43385840+Pondaveia@users.noreply.github.com>

* Update src/server/game/AI/SmartScripts/SmartScript.cpp

* Update SmartScriptMgr.h

* Update src/server/game/AI/SmartScripts/SmartScript.cpp

Co-Authored-By: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com>
2019-05-16 02:49:11 +02:00
IntelligentQuantum
9a7084e42d feat(Core/Commands): Arena command (#1798)
* New arena command
2019-05-13 08:16:57 +02:00