Commit Graph

4735 Commits

Author SHA1 Message Date
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
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
Inifield
6aff74cd17 Core/Command: Fix a crash when using wp show info pathid
Fix #530 thanks to @BarbzYHOOL for testing
2017-08-02 19:35:22 +02:00
talamortis
f353f9b5bb When player has Animal blood applied the D.E.H.T.A camp will now be hostile if player goes near. 2017-07-03 22:53:57 +01:00
talamortis
f36b6a9f89 Fix travis & compile error 2017-07-03 18:36:12 +01:00
talamortis
49e61d99d3 Fix Midsummer fire quest An Innocent Disguise aswell as fixed indentation. 2017-07-03 18:13:33 +01:00
Inifield
4c9dd9197d Core/Scripts: Adjust dalaran mageguards range
Resolve #473 I get better result with 5.0f
2017-07-02 15:39:06 +02: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
Nefertumm
c599c7e42e Tabs 2017-06-30 16:56:29 -03:00
talamortis
c4d5b19ba5 closes #290 2017-06-30 16:21:54 +01:00
talamortis
8c624cc2f1 Rin'ji will now appear to be male and also can not be attacked by alliance why in cage
closes #408
2017-06-30 16:15:53 +01:00
talamortis
1b979e10a3 Closes #493 2017-06-30 14:48:56 +01:00
Nefertumm
d1e85e1c47 Merge remote-tracking branch 'refs/remotes/azerothcore/master' 2017-06-30 02:25:01 -03:00
Nefertumm
9d2484bfc7 Implement ip2nation and ip2nationCountries 2017-06-30 01:54:22 -03: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