Commit Graph

48 Commits

Author SHA1 Message Date
Yehonal
bf60f8f5c6 Add summoner information to TeleportTo function and created OnBeforeTeleport hook 2017-11-20 11:36:14 +01:00
Yehonal
fe0c66bf70 Improved equip manager, anti-abuse system 2017-11-19 16:25:50 +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
sucofog
612e996209 Calendar/GameEvents: Store + Send holiday data to calendar (#589)
* Calendar/GameEvents: Store + Send holiday data to calendar

Fix by @Gerhood port by Sucofog for AC

* Remove comments

* Fixed an sql error

* 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

* Core: step 1 - starting to fix core warnings

expecially from headers and some cpp files

Scripts and tools in next steps

* Core: Step 2 - Fixed warnings with clang 3.9+

issue #121

* Core: Step 3 - removed all warnings from core

related to #121

Next step: Scripts and extractor tools

* Scripts: Step 4 - Fixed all warnings inside scripts

issue #121

Next step: enabling -DWITH_WARNINGS and fix

* Implement banned_addons (#647)

* Removed more warnings, mostly related to unused-variable

issue #121

We still have to work on unused-parameter

* Script: Fixed yogg saron Drive Me Crazy achievement

* uncommented releaseModelInstance to fix a warning

* Improved travis compilation

Including pending sql and enabling tools, core-debug, extra-logs and perftools

* Fixed compilation

* Fixed all unused-parameters warnings

issue #121

used clang-tidy to achieve this

* Removed unused variables in WaypointMovementGenerator

* Solved cmake D9025 issue with MSVC

* Fixed some variable/parameters type issues

* Uncommented some utils functions for LFG

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

* Pending sql

* Cleaning unused variables

* Update issue_template.md

* Coverity badge

* Fixed other badges

* Add GMSummonPlayer Config Option (#643)

* Stratholme's Rat Traps (#613)

* now rat traps in stratholme work correctly

* Implemented sql importing for db_assembler script

It includes a backup system that saves your day if you
push the "red button" (importing bases on a production db)

* Bash: Fixed Quit option

* Bash: Allow action non-interactive selection

You can directly run a specific action from command lines
useful for cronjobs for example

+ splitted db_assembler in more files ready to be included
from other bash scripts

* Cmake: Compiling with warnings by default

Forcing all contributors to fix all warnings before push a commit (i hope)

* Fixed gcc warnings

* Build without PCH to catch missing headers

+ changed to Debug build type

* Fixed PCH compilation and gcc warnings fixed

+ removed some useless warning suppressions

* Improved travis compilation

it must give us errors on warnings allowing contributors to fix them
as soon as possible (best before accepting PR)

* Improved db assembler, now can create DBs

* Bash: implemented installer script for server and modules (beta)

+ minor fixes

* Installer: minor fix

* Bash: fixed mysql default conf

* updated doc

* Installer: differentiate linux distro

* Use PLAYER_BYTES_3 instead of gender to avoid displayid problems

- This fix night elfs corpse turning into a cube

* 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

* 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

* Fixed max heroic attempts ICC

it must be 50 instead of 25

* Workaround to import sql with zero value in date on mysql 5.7

Maybe we need to fix those fields or find another better way

* Various fixes for installer script and db_assembler

* Db_Assembler: hide mysql password in prompt

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

* Fixed warnings when EXTRA_LOGS are off

* Fixed and optimized EXTRA_LOGS code

about 1700 lines of code manually checked

* Bash: Minor fixes for installer
2017-10-12 18:01:13 +02: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
84d6011a3d Fixed some variable/parameters type issues 2017-09-18 19:35:32 +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
c714f0cbb1 Pet bar should now show after /reload command. 2017-09-07 11:20:28 +01: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
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
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
Кирилл
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
Matteo Emili
cbdecc0828 Fixed hooks OnPlayerJoinArena and OnPlayerJoinBG 2017-03-26 01:09:36 +01:00
h0rs
57b8cf0235 Fix refer a friend Summon 2017-02-10 20:24:17 +00:00
3ndos
b7ee1a9f12 More hooks for Scripts/Modules (#270) 2016-12-07 09:12:01 +01:00
HeartWell
440b7e731f Core/ChatHandler: Fix for config mute. (#272) 2016-12-02 19:09:17 +01:00
Shin
81b195099b DB/World: move questItem* fields to *_questitems tables (#249) 2016-11-25 20:23:44 +01:00
Maczuga
084929c558 Core/PetHandler: Fix pet level issue on UNIX systems 2016-11-24 20:12:42 +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
HeartWell
fdfd3856ad Core/Chat: Add config to mute player first login. (#234) 2016-11-20 16:02:12 +01:00
Yehonal
d53b5522f9 Updated ScriptMgr with new function to favorite transmog module 2016-11-17 10:28:08 +01:00
HeartWell
c8cc99be37 Core/Object: Localization objects. (#226) 2016-11-05 20:43:11 +01:00
HeartWell
55873c1891 Core/Creature: Localization creatures. (#224) 2016-11-05 15:28:49 +01:00
HeartWell
8088ca220a Core/Item: Localization items. (#223) 2016-11-04 21:03:48 +01:00
HeartWell
b9aa88ac2b Core/Text: Implemented locales_page_text. (#221) 2016-11-03 20:00:04 +01:00
Yehonal
3b2fb0949b Core/Logging: Re-Implemented onChat scripting system 2016-09-24 14:36:21 +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
ShinDarth
e5fd1095c9 Core/Build: fixed a warning 2016-09-03 14:23:14 +02:00
Yehonal
cd2417eb2f Using IsGMAccount instead of direct check 2016-09-02 00:21:12 +02:00
mik1893
f23858188f Core/Instance: Shared normal/heroic ID is now a configurable feature (default: deactivated) 2016-08-24 15:27:32 +02:00
Yehonal
155a232459 Merge branch 'master' of github.com:azerothcore/azerothcore-wotlk 2016-08-19 23:33:12 +02:00
Yehonal
6eaa77591d Fixed compilation without PCH enabled
please avoid to miss header files in your sources
2016-08-19 23:33:02 +02:00
ShinDarth
0aba3ae267 Corrected more copyrights 2016-08-19 23:24:44 +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
Luth31
2057e08ef3 Core/Misc: Fix instant logout config 2016-08-13 23:51:52 +03:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00