Commit Graph

370 Commits

Author SHA1 Message Date
ayase
d29a1a3300 Core: Easy module conf creation & reload (#931)
* Change the read method of the config of the module.Developers can now easily read the config file in cmake.

e.g. AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/my_first_module.conf.dist")

* Update Master.h

* Update cs_reload.cpp

Command: `.reload config` can now reload the config file of all modules #981
2018-07-19 21:50:29 +02:00
talamortis
8b1f2ece8a Fixed Typo
*Fixed typo on custom hook.
2018-07-18 19:48:44 +01:00
talamortis
a5a130b95a Added Hook
* This hook can be used to cache module database tables.
2018-07-18 13:12:30 +01:00
Stoabrogga
a18d1474a3 tools improvement (#926)
* tools improvement

* added "Source/DetourAssert.cpp" to recastnavigation/Detour/CMakeLists.txt

* increased MMAP and VMAP version numbers

* Will need to re extract MMAPS and VMAPS
2018-07-13 12:46:04 +01:00
Kartselyanski
90fdd10c3f Fix Fishing's spell cast interruption. 2018-07-11 00:16:35 +02:00
Kargatum
7a5ed0c5bb Core/Scripts: Add SpellSC and new hook OnCalcMaxDuration 2018-07-08 01:04:38 +02:00
talamortis
775d5094d2 Removed comment from hook - No idea why it was there. 2018-07-06 15:05:47 +01:00
FALL1N1
cbc5172b1c Core/Scripts: Boss Gluth + Spell Infected Wound ... (#937)
* Fixed infinite stacks (and eventually crash) of infected wound. (Also fixes the stranglethorn vale zombies' DoT stack issue and all the mobs using that spell)
* Fixed zombie spawn location (3 gates, only 1 used in 10man, all 3 in 25)
* Fix Gluth's "Zombie Chow" distance, now it's blizzlike. Closes #736
2018-07-06 15:23:42 +02:00
Barbz
c15444a18e Rogue/Spell: Blade Flurry correctly dmg multiple mobs (#939)
Core/Spells: Fixed Blade Flurry not sharing damage/ignoring armor to
2018-07-05 00:41:05 +02:00
FALL1N1
613b586485 Fix Maexxna's portal rotation. (#925)
* Maexxna portal rotation.

* Rewritten sql to update, ready to be merged.

* Portal's visual effect should be in different phasemask and appear only when maexxna is killed.

* split the update query in two, forgot that visual is in phase2

* i want to kms.. all should be good now
2018-07-02 19:20:46 +01:00
talamortis
c3a36641ff Fixes Rogue Tier 1
close #955
2018-07-02 18:39:48 +01:00
talamortis
5100a533d2 Added check to player to return if player is in tank spec 2018-06-28 01:57:48 +01:00
Kargatum
7329ad4790 Add GitRevision
GitRevision as in TrinityCore
2018-06-24 17:32:50 +02:00
Kartselyanski
b9f12ddf8a Core/Spells: Fixed Blade FURry not sharing damage/ignoring armor to additional mobs. 2018-06-24 02:59:19 +03:00
Rochet2
a3d3042049 Core Hook - Remove temporary fix and document possible null in hook (#805)
* Remove workaround

Partially revert temporary crash fix a36e94a49a

* Update ScriptMgr.h
2018-06-20 00:38:32 +02:00
Kargatum
d4f785d705 Fix typo in commit 049386b936 2018-06-18 20:58:53 +07:00
Kargatum
049386b936 Core/Scripts: Add BGScripts and new hooks
* OnBattlegroudStart
* OnBattlegroudEndReward
* OnBattlegroudUpdate
* OnBattlegroudAddPlayer
2018-06-18 02:00:20 +07:00
Barbz
a1794c6193 BattlegroundMgr - Fixed typo
Quick fix typo in slog
2018-06-17 17:04:56 +02:00
Viste(Кирилл)
a303ba3da3 Core/Arena: fix auto distribute arena points and config option. (#927) 2018-06-16 17:28:44 +01:00
Nick Kraftor
3fecbf9f31 Module hook for kills performed by pets/totems (#912)
* Add hook for pet/totem kills

* Use method to cast unit to creature
2018-06-07 22:00:21 +01:00
ayase
e222cbbc0a Fix: Stuck at "Retrieving character list". (#880)
@AyaseCore 
* fix: Stuck at "Retrieving character list".

* change 2 to 1.1.

* Use the rochet2 solution.

@Rochet2 
* Add more logic from InstanceSaveManager::Update

In `InstanceSaveManager::Update` the `bool warn = event.type < 5;` affects how much time is added to the next reset schedule. This commit takes that into account to the next_reset calculation when skipping resets.

* Simplify code and move it to data loading
2018-06-03 21:56:02 +02:00
Stoabrogga
7e1c5b16ae Bugfix: cast items with target "TARGET_DEST_NEARBY_ENTRY" (e.g. item 7247) did not work because the if-clause only checks valid target units or game objects; fixed via additional check for target object type "TARGET_OBJECT_TYPE_DEST" and a valid target destination 2018-05-31 22:02:54 +02:00
ayase
064bbd9270 LFG - Queue again after dungeon (PR #883)
People should now be able to queue again, after last boss is killed.

(Closes issue #856)

Commits:

* fix:Dungeon Queue - Not working(#856)

* only the leader can re-queue

* Update LFGHandler.cpp
2018-05-29 22:57:22 +02:00
ayase
00777a80ae Eluna implementation (#847)
* azerothcore + eluna done.

* Remove the Eluna single thread limit.

* Read Eluna Settings file.

* submodule change.

* fix(test)  Ubuntu - Cant Link Library after Compile

* The ELUNA is disabled by default.

* remove submodule luaEngine.

* some change

* fix a error

* change cmake

* fix: some onplayerchat does not have hooks.

* Eluna: Add BG event Hooks.

* fix:cmake hook AFTER_LOAD_CONF not work.

* Remove the eluna switch.

* Remove some define in the core.

* fix conf file not read in the linux.

* eluna : change bg hook parameter type

* Remove TC log function call

* change bg hook OnBGEnd parameter type.


Note: to enable Eluna, the module is required
2018-05-22 20:22:11 +02:00
Kargatum
6873019ab0 Missing options in conf file (auth and worldserver) 2018-05-17 23:00:45 +02:00
Viste(kirill)
fda3d1a865 Core/Characters: fix player dump load command 2018-05-07 15:51:52 +03:00
Barbz
9db1d639fc Merge pull request #755 from Nefertumm/PlayerBytes
Split playerBytes fields in characters table
2018-04-19 19:51:33 +02:00
Yehonal
737c6ec1e1 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-04-09 07:12:11 +00:00
Yehonal
b773662753 New Boolean parameter for OnAfterUpdateEncounterState
Now you're able to know if an encounter has been really changed or not
(e.g. respawned bosses)
2018-04-09 07:09:43 +00:00
Shauren
77abc1df0e Core/Misc: Fixed memory leak in trade handler 2018-03-31 23:35:00 +03:00
Yehonal
91cbe9e98a Fixed Creature_SelectLevel hook 2018-03-20 13:50:35 +00:00
Yehonal
9abaf38612 Implemented OnAfterUpdateEncounterState hook 2018-03-20 13:50:27 +00:00
talamortis
5775da199a Revert "Guild charter should now work as intended."
This reverts commit 8a307c7b18.

Also applied fix using original code.
2018-03-20 08:34:15 +00:00
talamortis
3cd8da7560 Players can now re enter zul'aman after raid wipes. 2018-03-19 11:54:00 +00:00
talamortis
8a307c7b18 Guild charter should now work as intended.
closes #807
2018-03-19 11:11:33 +00:00
Rochet2
d1646aeb0f Fix DB type to match core (#809)
* Fix DB type to match core

Reverts https://github.com/azerothcore/azerothcore-wotlk/pull/733

* Importing pending sql
2018-03-17 14:19:33 +00:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Rochet2
bb70286d18 Fix crash with dangling player pointer
For a more educated fix would need to get access to git history for why the hook was moved here.
Or alternatively, try research what would be the correct place for the hook.
2018-03-11 17:54:48 +02:00
ariel-
43498cc1a2 Core/Misc: fix bad dbc data for lock 'Locked ball and chain'
Closes #494 author is @ariel- not sure yet how smartgit works...
2018-03-06 14:38:45 +01:00
Yehonal
c7e91800fc Fixed typo in ScriptMgr comments 2018-03-06 00:05:46 +00:00
Yehonal
bfca8601c0 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-03-06 00:01:13 +00:00
Yehonal
fbb4929299 CustomData for Map class 2018-03-06 00:01:07 +00:00
Trystanosaurus
f477948595 Implement RATE_CREATURE_AGGRO
Make aggroRate a local variable and return aggro range of 0 if aggroRate is 0 to save unnecessary calculations.
2018-03-04 19:00:03 +01:00
Yehonal
a36e94a49a Fixed crashes with not initialized CustomData 2018-03-02 21:03:40 +00:00
yehonal
93cf5edd57 Moved ScriptMgr macros to separated header and created ModuleScript
it will allow Modules to create their own Hooks inside the
module itself, to customize/extend their functionalities.

An example of its usage will be available in VAS Module:
You'll be able to disable VAS with custom conditions from other modules.
2018-02-28 20:20:10 +01:00
ladiszlai
4b8a10e605 Addon message read fix (#796) 2018-02-23 12:52:39 +01:00
talamortis
fbbc70e318 Fix for item https://wotlk.evowow.com/?item=50130 Quest: Crushing the Crown 2018-02-13 13:27:23 +00:00
talamortis
ac54e94907 Fix heirlooms to apply stats before giving health. 2018-02-09 09:19:15 +00:00
Yehonal
a6e91bc4ac Fix lootable items re-fill when not really empty 2018-02-06 22:15:35 +00:00
Inifield
7bc6b57432 Implement Rate.Auction.Deposit
Fixes #764
2018-02-04 19:13:59 +01:00