Commit Graph

251 Commits

Author SHA1 Message Date
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
José González
d85e55dd9b Fix compile error related to last commit (#776) 2018-02-01 18:21:41 +00:00
Rochet2
ff2851164d Implement data storage for Entitiies (#748) 2018-02-01 13:46:34 +01:00
Nefertumm
de7d331daf Implemented guild info command (#756) 2018-01-28 20:27:17 +01:00
Nefertumm
ca2ee81939 Wrong logs for creature_equip_template + startup errors fixes (#758)
* Fixed wrong logs

* Added some errors fixes on startup
2018-01-27 20:00:54 +01:00
Nefertumm
13d09b6590 PlayerBytes fields in characters table 2018-01-14 02:07:31 -03: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
acd60005e8 removed gamefw target lib 2017-12-21 01:41:18 +01:00
Yehonal
685a89e03f fixed cmake 2017-12-21 00:48:33 +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
c5267ef078 removed unused conf 2016-08-11 20:36:58 +02:00
Yehonal
c618632a70 Some cleaning 2016-08-11 20:36:42 +02:00
Yehonal
80453e215e Rewritten cmakes allowing compilation with new structure 2016-08-11 20:25:42 +02:00
Yehonal
991eed3b5a Using more appropriate NS prefixes for our macro and cmake vars 2016-08-11 20:10:08 +02:00
ShinDarth
2ba9f6f17b Script/Commands: imported .instance get/setbossstate commands from TrinityCore 2016-08-10 20:00:40 +02:00
ShinDarth
f2dfe2b8e3 Core/Strings: imported 157 LANG_* strings from TrinityCore 2016-08-10 19:17:26 +02:00
Yehonal
ce20864257 Merge pull request #43 from ShinDarth/git
Fixed Mac OS X build and minor changes to worldconf
2016-08-08 12:26:27 +02:00
Yehonal
83c9046ae3 Fixed compilation 2016-08-08 12:12:33 +02:00