Commit Graph

235 Commits

Author SHA1 Message Date
Kaev
6d5f59d83a Removed item DBC loading and use item_template table instead (#732)
* Removed item DBC loading and use item_template table instead
Added all NPC only items to item_template

* Used the recommended way to add SQL files
2017-12-12 19:17:27 +01:00
Yehonal
cc69bd6304 Added SetCorpseTarget for SpellCastTargets 2017-12-11 02:45:19 +00:00
Yehonal
11d815e9d7 Use getRace instead of direct uint32 value access for Corpse 2017-12-11 02:45:16 +00:00
talamortis
a32e81545f Added Immunity Stun to spell effect bladestorm.
close #729
2017-12-09 10:20:41 +00:00
Yehonal
7a0a5613d0 Fixed Encounter Boss Faerlina:
+ fixed in combat with summons, you cannot skip them now
+ fixed naxxramas woshipper immunity: they are not immune to charm spells in 25 mode
+ fixed invisible Widow's Embrace spell in possessed npc bar
2017-12-08 10:43:22 +00:00
neltharionorg
29f4a1e090 Import uptime table and feature from TC (#717) 2017-12-04 23:57:42 +01:00
Kaev
7a6c6315b8 Realmlist returns 0 instead of 1 characters after you deleted all characters (#724) 2017-12-04 22:08:26 +01:00
Kaev
d4e8035a9a Added getter for ObjMgr::_itemTemplateStoreFast (#725) 2017-12-04 21:37:57 +01:00
Yehonal
c044cbfdff Improved OnItemRoll hook
Now you can change the chance temporary and dinamically
2017-12-04 02:12:48 +00:00
Yehonal
912b6965d7 Add LootStore information to loot hooks
Please update your modules if you're using these functions
2017-12-04 02:12:36 +00:00
Yehonal
90e0332243 Add item entry information to auras for external usage 2017-12-04 02:12:31 +00:00
Yehonal
5ef601b7cf Revert "Fixed path error for charge spells after 17802ab6e5135f0220efcd8f4e460f8202a4c047"
This reverts commit 3b22c59bec.
2017-11-25 18:22:35 +00:00
Yehonal
300847920a Fixed transport disappearing 2017-11-25 02:14:15 +00:00
Yehonal
3b22c59bec Fixed path error for charge spells after 17802ab6e5
thanks @jackpoz for original patch
2017-11-25 02:13:28 +00:00
Yehonal
c14f8cffed Fixed Unit contact point 2017-11-25 01:07:39 +01:00
sucofog
cfedbd95ef Fixed compilation 2017-11-25 01:07:39 +01:00
sucofog
9433c91d60 Import this fix's:
da6065db00
d550f0fee8
2017-11-25 01:07:39 +01:00
Yehonal
08ca46ed93 Fixing NearPoint calculation and fishing height issue #127 2017-11-25 01:07:39 +01:00
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
talamortis
546c547e7b Bloodworms will now be defensive state when summoned.
closes #641
2017-11-20 13:51:48 +00: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
af1a3b5220 Fixed compilation 2017-11-19 16:25:58 +01:00
Yehonal
70738e76f0 Added OnBeforeItemRoll hook and added missing parameter to:
OnAfterRefCount
OnBeforeDropAddItem

please update your scripts if you're using them
2017-11-19 16:25:54 +01:00
Yehonal
fe0c66bf70 Improved equip manager, anti-abuse system 2017-11-19 16:25:50 +01:00
Yehonal
798e1acfc5 Missing arena meets condition for statistics and fixed played matches 2017-11-19 16:25:33 +01:00
Yehonal
3d36bb81a4 Fixed statistic counters on different raid/dungeon difficulty
Needs queries to fix some missing criteria in achievement_criteria_data
with type 12
2017-11-19 16:25:23 +01:00
Yehonal
817257c85b Implemented OnUpdateArea hook
it's more accurate than UpdateZone
2017-11-19 16:25:05 +01:00
Yehonal
1c519f62ff Fixed played arena statistics 2017-11-19 16:24:49 +01:00
Yehonal
626630f0f6 Fixed improved succubus seduction talent #699 2017-11-18 12:49:39 +01:00
Yehonal
1e288af897 Improved OnCriteriaCheck hook, passing information about criteria_id
OnCheck without criteria_id is deprecated but still available
2017-11-18 12:49:33 +01:00
Yehonal
563e02370e Fixed druid "powershift" macro #693
Thanks to @lineagedr
2017-11-18 12:49:28 +01:00
Yehonal
64fa231ff3 Fixed criteria updating on exploration 2017-11-18 12:47:48 +01:00
sucofog
1b9b901817 Mmap version update to latest 2017-11-18 03:49:58 +01:00
Yehonal
1e860bd7fe Spell/Workaround: Seduction must be interrupted by spell reflection #697
it's an hack, we must improve it. Thanks to @lineagedr
2017-11-17 00:24:40 +01:00
Yehonal
5ad0bd2134 Fixed Hand of Reckoning effect on shaman totems 2017-11-17 00:19:00 +01:00
sucofog
c75ec13191 Core-side part for recastnav upgrade:
Corrected values, fixed compile, re-extraction of Mmaps it's required again, mmaps will be updated on wiki.
2017-11-15 18:55:04 +01:00
sucofog
17802ab6e5 Properly update Recastnav:
The commit not contained the last updates, added them and correct CMakeLists include.
MMaps re-extraction wil be REQUIRED.
2017-11-14 23:22:11 +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
Kevin Starrheld
d98ba9cdaa Fixes creature equipment not loading correctly. (#688) 2017-11-14 14:42:52 +01:00
Yehonal
76215c5c1f Core: fixed realm first achievement
Porting of @shauren fix:
c75fcbe20b
2017-10-17 00:28:01 +02: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
4df28fd29c Fixed valid arena condition
maybe we should remove it? (not blizzlike)
2017-10-12 16:25:04 +02:00
Yehonal
9c92f4f32e Fix achievement criteria sending correct race
in case of crossfaction enabled
2017-10-12 16:24:50 +02:00
lineagedr
7df5d0964f Add Diminishing_None to Feral Charge. And Add Blizzlike Animations to Flags / Chest Captures. (#664)
* Add Diminishing_None to Feral Charge.

Closes https://github.com/azerothcore/azerothcore-wotlk/issues/648

Credit: AnonXS @L4G_Core

* Update Spell.h

* Add blizzlike ecapturing flag / chest animation

Code from Nostalrius.

* Add missing blizzlike animations.

Demonic Circle: Summon, Soul well, Ritual of Summoning. There's probably more.

* Update Object.cpp
2017-10-08 17:13:19 +02:00
mik1893
10809d9113 Core/Battleground: Deserter track on bg leaving 2017-10-08 12:50:57 +02:00