Commit Graph

33 Commits

Author SHA1 Message Date
Stoabrogga
5cf01e02f6 fix(Core): implement "SCRIPT_COMMAND_MOVEMENT" (35) to fix Defias Thug waypoint errors (#1721)
* fix(DB): fix Defias Thug waypoint errors

* implement SCRIPT_COMMAND_MOVEMENT (35); remove SQL script
2019-04-21 16:56:32 +02:00
Kargatum
824a80005c Refactor(Core/Misc): Remove remaining COMPILER_HAS_CPP11_SUPPORT related macros (#1627)
* Delete macros UNORDERED_MAP
* Delete macros UNORDERED_SET
2019-03-26 00:01:56 +07:00
Kargatum
b6cb9247ba Refactor(Core/Gossip): Replacing old macros with new (#1338)
* Correct support new macro
2019-03-25 21:10:57 +07:00
Dmitry Brusenskiy
4616d22369 Core/Eluna: Hotfix call sEluna->OnGameEventStart method arg register (#1500) 2019-02-19 23:48:54 +07:00
Dmitry Brusenskiy
3a39aaeed5 Core/Hooks: Adds hooks for start and stop game events (#1472) 2019-02-19 09:24:55 +07:00
Dmitry Brusenskiy
23d78ce6bc Core/Hooks: Add new Player hooks (#1481)
* Fix hook OnReputationChange
* Add hook OnReputationRankChange
* Add hook OnLearnSpell
* Add hook OnForgotSpell
2019-02-18 18:22:36 +07:00
Nefertumm
c15206fc15 Revert "feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)" (#1471)
This reverts commit 51b8773528.
2019-02-15 15:14:49 -03:00
Viste(Кирилл)
51b8773528 feat(core): Ensure that all actions are compared to fixed point in time (#1236) (#1458)
i.e. world update start
2019-02-14 19:22:17 +01:00
Nefertumm
2a71b2a666 feat: Added logs_ip_action + more (#1157) 2019-02-08 23:52:22 +01:00
Lee
6750fd5a73 [Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
2019-02-07 22:03:30 +00:00
Kargatum
b34bc28e5b Core/DB: Update all locales to actual TrinityCore (#1160)
* Core/Misc Update all locales table structure to simple system. Port from TrinityCore
Co-Authored-By: Winfidonarleyan <dowlandtop@yandex.com>
* Core/Db/Gossip Update structure gossip_menu and gossip_menu_action to actual TrinityCore
* Core/DB Update Broadcast system to actual TC
* Core/Mail: implement Quest Mail Sender
* Core/Quest Split quest template locales
2019-01-13 01:56:06 +03: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
Kargatum
7a5ed0c5bb Core/Scripts: Add SpellSC and new hook OnCalcMaxDuration 2018-07-08 01:04:38 +02: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
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
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
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
Yehonal
9abaf38612 Implemented OnAfterUpdateEncounterState hook 2018-03-20 13:50:27 +00:00
Nefertumm
dd300003e2 Update license links (#783) 2018-03-12 10:54:57 +01:00
Yehonal
c7e91800fc Fixed typo in ScriptMgr comments 2018-03-06 00:05:46 +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
Kaev
05cd8c8c61 Move area trigger storage from DBC to database (#742)
Renamed AreaTrigger + related stuff to AreaTriggerTeleport
2018-01-02 22:08:08 +01:00
Yehonal
403ed2600f Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk into dir-restructure 2017-12-21 11:26:43 +01:00
Yehonal
17332304fd Using TC structure allowing easier patches importing 2017-12-21 00:20:29 +01:00
Yehonal
b0c8eceb08 Refactoring part 2 [W.I.P] 2016-08-12 02:38:26 +02:00
Yehonal
2636b90869 Improved ScriptMgr with more hooks 2016-08-08 11:46:34 +02:00
Yehonal
5b824569a9 [CORE] Rewritten ScriptMgr to be initialized before server load
Now ScriptMgr can be initialized before config allowing

to create scripts that can change the behaviour of

server before loading anything
2016-08-07 12:28:17 +02:00
Yehonal
1aef789c85 [Core/Cmake] Scripts are now added dynamically
You can now add your scripts using cmake inside your module
instead patch core cpp files
2016-08-07 12:21:52 +02:00
Yehonal
f6eefedcd5 converted all tabs to 4 spaces 2016-06-26 19:23:57 +02:00
Yehonal
e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00