Commit Graph

404 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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
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
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
Кирилл
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
41efb63b29 Update WorldSocket.cpp 2017-08-20 05:39:17 +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
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