Commit Graph

138 Commits

Author SHA1 Message Date
Barbz
b8d2396398 Core/Achiev: Warning if GM mode enabled (#1028)
* Core: Achievements warning if GM mode enabled

Added a warning ingame and in console when you're a GM testing achievements (else it was confusing).
Added an extra type check in UpdateAchievementCriteria, ported from TrinityCore.
2018-12-08 23:02:41 +01:00
talamortis
a9b981d619 [Core / Fix] Fixed an issue if charmed creatures was created by spell they wouldn't disappear if owner was too far away from it.
Lets take quest Taming the beast for example, Once beast was tamed and player was too far away from the creature it would still appear as a pet and cause issues.
2018-11-30 00:27:32 +00:00
talamortis
50aace0e52 [Core / Fix] Mage: Empowered Fire Talent
Fixed an issue where the Mana return was returning 0.2% instead of 2%.
2018-11-29 19:49:47 +00:00
Jinyang li
f2f3872c25 CORE/Spell: add diminishing returns on reflected spell. (#1050)
Fix "Spell which is reflected doesn't create DR on whom is casting the spell"
Now warrior would not add diminishing returns if he reflect spell (code may be a bit hacky)

Closes issue #650 on github
2018-11-23 22:39:30 +01:00
Jinyang li
4b6342b42f Core/NPC: Creatures now alert when they detect stealthed players (#1060)
Creatures stop when they detect a stealthed player like in retail.
Closes #1020
2018-10-31 20:25:23 +01:00
talamortis
7ffc68e4aa Added missed copyrights to CreatureGroups.cpp 2018-10-27 21:28:37 +01:00
Barbz
879553ddf8 Core/Conf: Fix StartAllReputation from player.cpp (#973)
Remove StartAllReputation from player.cpp
Move StartAllReputation to handler
Add the config back
2018-10-23 19:39:14 +02:00
Barbz
1d5407a9d9 Revert "Core: Better fix for stuck at "Retrieving character list"" (#1040)
This reverts commit c4a6445a23.
2018-09-30 01:05:51 +02:00
talamortis
c4a6445a23 Core: Better fix for stuck at "Retrieving character list"
also fix instance lock always delayed and never expiring

close: #966
2018-09-28 18:33:17 +01:00
Kargatum
0d6eb11db9 Core/Account: Add total time played in account (#1003)
This saves the total time played on the account, even if your characters have been deleted.
2018-09-17 19:58:42 +02:00
talamortis
cbf7bc2d3f Updated code for New config.
*enable/disable Minigob Manabonk
*Put the config option in the wrong part, changed from int to bool.
2018-08-05 00:50:24 +01:00
talamortis
ccb3e8c2a4 Merge branch 'master' of https://github.com/azerothcore/azerothcore-wotlk 2018-07-29 23:09:07 +01:00
talamortis
78e1407f7a New config option added
- Added config to enable/disable Minigob Manabonk.
 - Dalaran Wintergrap mage no longer yells if the event has been disabled.
2018-07-29 23:08:56 +01:00
FALL1N1
c6be57c232 Move preloading in the continent transport check 2018-07-28 01:43:23 +02:00
Kartselyanski
1f51bf41cd And another one... 2018-07-28 01:43:23 +02:00
Kartselyanski
21aae9eec5 Should be out of the check. 2018-07-28 01:43:23 +02:00
Kartselyanski
ea8c85c886 Make the continent transport and preloading optional. 2018-07-28 01:43:23 +02:00
talamortis
562833c9d6 Fixed Glyph Learning.
* Fixed an issue where if players learn a glyph in spec 1 the same glyph couldnt be applied in spec 2.

closes #739 #411
2018-07-21 23:38:33 +01:00
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