Commit Graph

203 Commits

Author SHA1 Message Date
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
Vitoco
edd88fbd1e fix(instance): Ruby Sanctum - Resistances ignored (#1371) 2019-02-16 20:08:50 +01: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
Nefertumm
6dfb40b446 fix(Core/Instances): instance reset (#1416) 2019-02-14 20:27:12 +01: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
robens {e.py}
1b7522ff0e fix(Core/Player): achievements activation (#1463) 2019-02-14 19:11:54 +01:00
Viste(Кирилл)
cb81f3c17a feat(Core/LOS): restruct LOS functions and add LineOfSight check (#1459) 2019-02-13 22:24:04 +01:00
José González
f0913b7da8 feat(Command): Remove spy command from AC and make it a module (#1401) 2019-02-12 21:19:27 +01:00
Stoabrogga
2d3ea3a308 fix(clang): fix build on version 7 (#1391)
Remove unused private fields
2019-02-09 23:34:28 +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
Francesco Borzì
7b61731958 feat(CI): prevent PRs that cause DB errors to get on master (#1407) 2019-02-06 23:55:23 +01:00
Francesco Borzì
37d9ef0126 fix(DB): mail_loot_template startup errors (#1404)
Fixed bug that made the core complaining about "unused mail_loot_template" while they were actually used 

Closes #1155
2019-02-05 19:55:00 +01:00
Francesco Borzì
264dd0c65a fix(gobject): elevator bug + prevent bugs related to faction and flags (#1402)
- Closes #1396
2019-02-02 14:34:50 +01:00
Poszer
002f24aadb Core/Spells: Mage permafrost talent (#1389)
* Core/Spells : Mage permafrost talent

- Will fix issue with permafrost (Talent ) apply the heal reduction even if dispelled.

Co-Authored-By: talamortis <talamortis@gmail.com>

* Update Spell.cpp

Removed the whole case function as requested in AC comments.
2019-02-02 12:51:16 +00:00
Lee
30f28d341e [Core / Spell] Fixed Amplify Damage (#1387)
Fixed Amplify Damage for Prince Malchezaar, this will no longer apply the effect on all players in the raid but only single player
2019-01-30 12:15:56 +00:00
Francesco Borzì
d16c17c044 feat(conditions): prevent adding bad contitions + align enums with TC (#1381) 2019-01-29 23:02:54 +01:00
Francesco Borzì
38b368e909 feat(gameobject): allow gameobjects to loot money + align table with TC (#1368) 2019-01-28 20:24:43 +01:00
Francesco Borzì
1905c36353 fix(quest): fix some quest chains + align NextQuestID with TC (#1351) 2019-01-28 20:23:59 +01:00
Francesco Borzì
2f1c01a1fd feat(SmartAI): display error on unsupported targets + align TC enums (#1349) 2019-01-28 20:23:35 +01:00
Stoabrogga
acf47073ab feat(SmartAI): Implement action type 115 "SMART_ACTION_RANDOM_SOUND" 2019-01-26 22:16:16 +00:00
Francesco Borzì
206feacab3 feat(SmartAI): improve add quest action (#1333) 2019-01-24 19:07:13 +00:00
Francesco Borzì
c62fec7f77 feat(SmartAI): handle unused SmartActions (#1335)
Emit error when there is a SmartAction in the DB that is not yet supported in AzerothCore.
Emit error when there is a SmartAction in the DB that is not supposed to be used in version 3.3.5a.
2019-01-23 15:51:08 +01:00
Francesco Borzì
8931ae74ba refactor(SmartAI): move AC-only SMART_ACTIONs to avoid conflicts with TC 2019-01-20 19:57:21 +01:00
Francesco Borzì
386b334337 refactor(SmartAI): align some SMART_ACTION(s) to TC (#1329) 2019-01-20 14:09:14 +01:00
Francesco Borzì
7c7c5eb203 Core/DB: refactor(creature_template): closes #1181 (#1322)
* refactor(creature_template): closes #1181

* chore: improve code readability
2019-01-20 13:39:32 +03:00
Francesco Borzì
07d5314a8b refactoring(SAI): add event_param5 and target_param4 (#1324) 2019-01-20 01:02:01 +01:00
Francesco Borzì
aa66ff8f08 Core/Startup: Empty table should not be a startup error (#1320) 2019-01-20 02:24:10 +07:00
FrancescoBorzi
0411cc9c21 fix build 2019-01-19 10:23:23 +01:00
FrancescoBorzi
5e08b2b8d9 add new lines at the end of files 2019-01-19 02:55:10 +01:00
FrancescoBorzi
97ae1496a7 fix: server motd 2019-01-19 02:48:00 +01:00
Vitoco
c9c9007015 Core/Spells: Fix DeathKnight T10 Tank 2P Bonus (#1291)
Now correctly increase the damage done by your Death and Decay ability by 20%
2019-01-17 18:53:05 +01:00
José González
a4d8134e38 Core/Commands: Add new spy command (#1263)
Add a new spy command for game masters and administrators to receive all conversations of followed players.

How to use:

- Use command .spy follow <characterName> with a GM 
- Make that player whisper another player
- You (GM) should receive the message sent
- Use command .spy status. You should get a list with the test subject's name in it.
- Use command .spy unfollow <characterName>
- You should not receive any more messages sent or received by that player


* Core/Commands: Add new spy command
* Importing pending sql
* Fix missing comma in SQL
* Fix travis compile: comment unused parameter
2019-01-15 15:47:14 -03:00
Poszer
d5294f7112 Merge pull request #1255 from poszer/QuestAbandonFinishFix
Quest abandon finish fix
2019-01-15 13:52:26 +01:00
Poszer
6ef7c40313 Update Player.cpp 2019-01-15 00:48:54 +01:00
Poszer
c573c60a0f DB/Quest Going Bearback (#1267)
-Fix client crash while ussing arrows in quest, and pressing Esc.
-Updating creature spells ( Correct is to have Flaming Arror and Burst of Speed )
2019-01-14 11:26:58 +03:00
Kargatum
93bccb9b85 Core/Gossip: improve gossips related to Dual Talent Specialization (#1218) 2019-01-13 17:16:09 +03: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
Vitoco
bb34d1b90a Core/Spell: Val'kyr Target Search bypass invuln (#1229)
This spell now bypass invulnerability.
Fix players using Hand Of Protection to prevent selection from valkyrs.
2019-01-10 14:30:42 +01:00
Poszer
e993c20cac Update Player.cpp 2019-01-10 13:35:54 +01:00
Poszer
ffd578559a Update Player.cpp 2019-01-10 13:23:46 +01:00
Kargatum
c00d5fe0ab CMake: Use source_groups to represent the source tree (#1247) 2019-01-10 07:20:32 +03:00
Poszer
cfa2f86a0d Merge pull request #1241 from poszer/QuestAbandonFinishFix
Core/Quests: Abandon&Finish quest items
2019-01-09 19:58:57 +01:00
Stoabrogga
0be44221d2 Core/Pet: additional check if it's a creature (#1248) 2019-01-09 20:51:27 +03:00
Viste(Кирилл)
31bce00b2a Core/Events: announce event system improvement. (#1228)
* DB: update timestamps for #1187
2019-01-08 16:15:38 +03:00
Kargatum
1a9f8dfc0c Core/DBC Move WorldSafeLocs.dbc storage to DB (#932) 2019-01-08 09:37:31 +03:00
Stoabrogga
3d416de893 Core/Movement: Prevent pet animation stuttering during movement (#1142)
* fix vanity pet distance and angle
* fix vanity pet distance to player
* put size calculation for normal pets into the if-statement for vanity pets
* change pet speed algorithm
* change distance calculation
* another change to the distance calculation; differentiate between player running or flying
2019-01-08 09:36:25 +03:00
Viste(Кирилл)
f852a87f9c Core/Session: proper client timeout detection (#1232)
* Core/Session: proper client timeout detection

- Properly detect client timeout when logged into a character after a configurable time (default 60s) has passed without the client sending any packets.
- Fixes issues with crashed clients leaving characters in the world for a very long time (default 15 minutes), as well as edge case exploits involving intentionally pausing client execution for some amount of time.
2019-01-08 09:33:24 +03:00