Commit graph

30 commits

Author SHA1 Message Date
Yehonal
3e9ffa3e33 Implemented GetPhaseByAuras removing redundant code (DRY) 2017-11-20 11:36:46 +01:00
Yehonal
626630f0f6 Fixed improved succubus seduction talent #699 2017-11-18 12:49:39 +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
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
77340773be Fixed gcc warnings 2017-09-21 00:59:43 +02:00
Yehonal
944cfd077e Cleaning unused variables 2017-09-19 11:23:07 +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
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
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
620887fe61 fixed compilation with ENABLE_* defines disabled 2017-08-20 12:34:06 +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
Yehonal
c1586e0d99 changed DISABLED_ cmake variable to ENABLED_ and implemented for all disabled logs 2017-08-19 19:42:48 +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
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
Matteo Emili
cb6fbe79e5 Fix to OnBeforeRollMeleeOutcomeAgainst 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
3ndos
b7ee1a9f12 More hooks for Scripts/Modules (#270) 2016-12-07 09:12:01 +01:00
mik1893
ca510dfd8d Core/Unit: added new script OnPlayerBeingCharmed 2016-09-24 14:45:07 +02:00
ShinDarth
5802a37698 Revert "Build/Clang: fixed 96 warnings + improved code readability"
This reverts commit a4589f71d5.
2016-09-04 10:11:10 +02:00
Yehonal
cd2417eb2f Using IsGMAccount instead of direct check 2016-09-02 00:21:12 +02:00
mik1893
f4382e25c0 Core/Unit: enable setting and retrieval of a temporary race for players 2016-08-24 15:16:06 +02:00
mik1893
b689b7f1e1 Core/Player: Implement original race variable at unit level and initialize it (for future customizations) 2016-08-24 14:27:10 +02:00
ShinDarth
da7a7ab295 Fix License issue, closes #21 2016-08-17 17:58:45 +02:00
ShinDarth
a4589f71d5 Build/Clang: fixed 96 warnings + improved code readability 2016-08-16 23:21:38 +02:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Renamed from src/server/game/Entities/Unit/Unit.cpp (Browse further)