Commit Graph

43 Commits

Author SHA1 Message Date
Yehonal
37e9160e88 Fixed npc/object spawn by command when GetPhaseByAuras is used. 2017-11-22 13:23:00 +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
Yehonal
3e9ffa3e33 Implemented GetPhaseByAuras removing redundant code (DRY) 2017-11-20 11:36:46 +01:00
Yehonal
bf60f8f5c6 Add summoner information to TeleportTo function and created OnBeforeTeleport hook 2017-11-20 11:36:14 +01:00
Yehonal
9bded96de5 Fixed aura for GM visibility at login 2017-11-20 11:30:29 +01:00
Yehonal
817257c85b Implemented OnUpdateArea hook
it's more accurate than UpdateZone
2017-11-19 16:25:05 +01:00
Yehonal
64fa231ff3 Fixed criteria updating on exploration 2017-11-18 12:47:48 +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
9c92f4f32e Fix achievement criteria sending correct race
in case of crossfaction enabled
2017-10-12 16:24:50 +02:00
Inifield
a2957f53b0 Fix mail system not sending all items 2017-09-30 13:06:38 +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
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
talamortis
f6ff4910c3 Added a hook for player::Update 2017-08-24 11:06:21 +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
Kevin
2da9db04eb Implemented OnPlayerReleasedGhost() hook 2017-06-29 18:59:37 +00: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
Кирилл
1a0a3e0578 Core/Locale: fix Locales for gossip menu option (#503) 2017-05-31 22:16:32 +01:00
Yehonal
4fdaa4444e Hook for player data loading from db 2017-03-26 13:49:41 +02:00
Gargarensis
a870e5fae4 hook before a player buys something 2017-03-26 01:09:32 +01:00
Viste
4a88315b07 Fix config option PVP_TOKEN_ENABLE close issue #183 2017-03-20 02:15:09 +03:00
Кирилл
4a6350dc83 Locales for quests (#407) 2017-03-03 16:24:20 +01:00
3ndos
b7ee1a9f12 More hooks for Scripts/Modules (#270) 2016-12-07 09:12:01 +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
Yehonal
7e56f3f1fc Implemented hook for Player::MoveItemFromInventory 2016-11-19 00:18:44 +01:00
Yehonal
d53b5522f9 Updated ScriptMgr with new function to favorite transmog module 2016-11-17 10:28:08 +01:00
Yehonal
3b2fb0949b Core/Logging: Re-Implemented onChat scripting system 2016-09-24 14:36:21 +02:00
mik1893
ce07d52235 Fix for missing assignment of m_race 2016-09-05 15:15:27 +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
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
Rival
9f6ff6bb7c Core/Player: Fixed Weapon Skillup on low level mobs 2016-08-14 10:27:53 +03:00
ShinDarth
e9089ed793 DB/Characters: update DB structure 2016-08-12 11:49:04 +02:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00