Commit Graph

181 Commits

Author SHA1 Message Date
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
973259925b Fixed PCH compilation and gcc warnings fixed
+ removed some useless warning suppressions
2017-09-21 11:53:02 +02:00
Yehonal
77340773be Fixed gcc warnings 2017-09-21 00:59:43 +02:00
StygianTheBest
209bc50ef5 Add GMSummonPlayer Config Option (#643) 2017-09-19 20:30:23 +02:00
Yehonal
944cfd077e Cleaning unused variables 2017-09-19 11:23:07 +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
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
627f8412d1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2017-09-18 03:17:54 +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
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 c32f081fe2ea59b9206887fb5aee0236c49a744c.

* Revert "Fixed line spacing"

This reverts commit 5a922bbfe819aa435a797056f30571b93503c6ae.

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

This reverts commit 0d57b3c27320df09e230553f346d850f8bb43bcd.

* 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
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
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 ec0393001f

* Fixed indentation
2017-08-23 10:45:08 +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
Кирилл
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
41efb63b29 Update WorldSocket.cpp 2017-08-20 05:39:17 +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
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
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
talamortis
49e61d99d3 Fix Midsummer fire quest An Innocent Disguise aswell as fixed indentation. 2017-07-03 18:13:33 +01: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
Kevin
2da9db04eb Implemented OnPlayerReleasedGhost() hook 2017-06-29 18:59:37 +00: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
Кирилл
1a0a3e0578 Core/Locale: fix Locales for gossip menu option (#503) 2017-05-31 22:16:32 +01: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
PolarCookie
cfd2d7eabc Core/Pet: Warlock pet base damage and stat fix (#480) 2017-05-08 15:11:08 +03: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